Nav apraksta
alejandro.alvarez5 70bb213259 articulo 3 gadus atpakaļ
..
index.js articulo 3 gadus atpakaļ
license articulo 3 gadus atpakaļ
package.json articulo 3 gadus atpakaļ
readme.md articulo 3 gadus atpakaļ

readme.md

os-homedir Build Status

Node.js 4 os.homedir() ponyfill

Install

$ npm install --save os-homedir

Usage

const osHomedir = require('os-homedir');

console.log(osHomedir());
//=> '/Users/sindresorhus'

Related

  • user-home - Same as this module but caches the result
  • home-or-tmp - Get the user home directory with fallback to the system temp directory

License

MIT © Sindre Sorhus