Os
import { getHomeDir, getOsArch, getOsPlatform } from '@rtorcato/js-common/os'
Exports
| Name | Summary |
|---|---|
getHomeDir | Returns the user's home directory (Node.js only). |
getOsArch | Returns the OS architecture (Node.js only). |
getOsPlatform | Returns the current operating system platform (Node.js only). |
getOsRelease | Returns the OS release/version (Node.js only). |
getTmpDir | Returns the system's temporary directory (Node.js only). |