baichun 9261271bd4 堡垒之夜-工具页 | 6 years ago | |
---|---|---|
.. | ||
index.js | 6 years ago | |
license | 6 years ago | |
package.json | 6 years ago | |
readme.md | 6 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