@types/ospath
Version:
TypeScript definitions for ospath
39 lines (30 loc) • 951 B
Markdown
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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ospath/index.d.ts)
````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;
````
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT
* Dependencies: none
These definitions were written by [Kishan Gajera](https://github.com/kgajera).
> `npm install --save @types/ospath`