UNPKG

@types/ospath

Version:
39 lines (30 loc) 951 B
# 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](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; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 09:09:39 GMT * Dependencies: none # Credits These definitions were written by [Kishan Gajera](https://github.com/kgajera).