Sha256: 765ea8cb8a4df80715ec9282c66f547b43b017a91e0fccf8247df0631db03885

Contents?: true

Size: 1.75 KB

Versions: 33

Compression:

Stored size: 1.75 KB

Contents

/**
Directory for user-specific data files.

@example
```
import {xdgData} from 'xdg-basedir';

console.log(xdgData);
//=> '/home/sindresorhus/.local/share'
```
*/
export const xdgData: string | undefined;

/**
Directory for user-specific configuration files.

@example
```
import {xdgConfig} from 'xdg-basedir';

console.log(xdgConfig);
//=> '/home/sindresorhus/.config'
```
*/
export const xdgConfig: string | undefined;

/**
Directory for user-specific state files.

@example
```
import {xdgState} from 'xdg-basedir';

console.log(xdgState);
//=> '/home/sindresorhus/.local/state'
```
*/
export const xdgState: string | undefined;

/**
Directory for user-specific non-essential data files.

@example
```
import {xdgCache} from 'xdg-basedir';

console.log(xdgCache);
//=> '/home/sindresorhus/.cache'
```
*/
export const xdgCache: string | undefined;

/**
Directory for user-specific non-essential runtime files and other file objects (such as sockets, named pipes, etc).

@example
```
import {xdgRuntime} from 'xdg-basedir';

console.log(xdgRuntime);
//=> '/run/user/sindresorhus'
```
*/
export const xdgRuntime: string | undefined;

/**
Preference-ordered array of base directories to search for data files in addition to `xdgData`.

@example
```
import {xdgDataDirectories} from 'xdg-basedir';

console.log(xdgDataDirectories);
//=> ['/home/sindresorhus/.local/share', '/usr/local/share/', '/usr/share/']
```
*/
export const xdgDataDirectories: readonly string[];

/**
Preference-ordered array of base directories to search for configuration files in addition to `xdgConfig`.

@example
```
import {xdgConfigDirectories} from 'xdg-basedir';

console.log(xdgConfigDirectories);
//=> ['/home/sindresorhus/.config', '/etc/xdg']
```
*/
export const xdgConfigDirectories: readonly string[];

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.59 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.58 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.57 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.56 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.55 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.54 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.53 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.52 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.51 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.50 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.49 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.48 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.47 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.46 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.45 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.44 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.43 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.42 node_modules/xdg-basedir/index.d.ts
immosquare-cleaner-0.1.41 node_modules/xdg-basedir/index.d.ts