Installation
npm install --save @types/ospath
Summary
This package contains type definitions for ospath (https://github.com/jprichardson/ospath#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ospath.
index.d.ts
/**
* Returns the directory where an application should store its data directory.
*/
export function data(): string;
/**
* Returns the user's desktop directory.
*/
export function desktop(): string;
/**
* Returns the user's home directory.
*/
export function home(): string;
/**
* Returns a temporary directory.
*/
export function tmp(): string;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Kishan Gajera.