# Directories

Neutralino's OS API (getPath method): [https://neutralino.js.org/docs/api/os#osgetpathname](https://neutralino.js.org/docs/api/os#osgetpathname)

## Names

<table><thead><tr><th>Name</th><th width="202.6413630455708">Type</th><th>Description</th></tr></thead><tbody><tr><td>cwd</td><td>string</td><td>Current working directory</td></tr><tr><td>app</td><td>string</td><td>App directory</td></tr><tr><td>temp</td><td>string</td><td>System temp directory</td></tr><tr><td>data</td><td>Promise&#x3C;string></td><td>System data directory</td></tr><tr><td>documents</td><td>Promise&#x3C;string></td><td>System documents directory</td></tr><tr><td>pictures</td><td>Promise&#x3C;string></td><td>System pictures directory</td></tr><tr><td>music</td><td>Promise&#x3C;string></td><td>System music directory</td></tr><tr><td>video</td><td>Promise&#x3C;string></td><td>System video directory</td></tr><tr><td>downloads</td><td>Promise&#x3C;string></td><td>System downloads directory</td></tr></tbody></table>

## Usage

```typescript
import { dir } from '@empathize/framework';

// '/tmp'
console.log(dir.temp);

// "$HOME/.local/share" (~/.local/share)
dir.data.then(console.log);
```
