1.2.3 • Published 6 months ago
@types/ospath v1.2.3
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
// Type definitions for ospath 1.2
// Project: https://github.com/jprichardson/ospath#readme
// Definitions by: Kishan Gajera <https://github.com/kgajera>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* 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, 27 Jul 2021 23:01:29 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Kishan Gajera.