Luis f4296bcada project initialized | 5 years ago | |
---|---|---|
.. | ||
index.js | 5 years ago | |
license | 5 years ago | |
package.json | 5 years ago | |
readme.md | 5 years ago |
Node.js 4
os.homedir()
ponyfill
$ npm install --save os-homedir
const osHomedir = require('os-homedir');
console.log(osHomedir());
//=> '/Users/sindresorhus'
MIT © Sindre Sorhus