@types/ospath
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ospath

Weekly Downloads

1,632

Version

1.2.3

License

MIT

Unpacked Size

3.23 kB

Total Files

5

Last publish

Collaborators

  • types