{"name":"node-homedir","version":"0.0.1","description":"Get the effective user's homedir.","main":"index.js","scripts":{"test":"npm run lint && mocha -t 15000 -r intelli-espower-loader test/*.test.js","test-cov":"istanbul cover _mocha -- -t 15000 -r intelli-espower-loader test/*.test.js","lint":"eslint test *.js","ci":"npm run lint && npm run test-cov"},"repository":{"type":"git","url":"git+https://github.com/node-modules/node-homedir.git"},"keywords":["homedir","effective","node"],"author":{"name":"ngot"},"license":"MIT","bugs":{"url":"https://github.com/node-modules/node-homedir/issues"},"homepage":"https://github.com/node-modules/node-homedir#readme","devDependencies":{"egg-ci":"~1.0.3","eslint":"3","eslint-config-egg":"3","intelli-espower-loader":"^1.0.1","istanbul":"*","mm":"^2.0.0","mocha":"*","power-assert":"^1.4.1"},"files":["index.js"],"engines":{"node":">=4.0.0"},"ci":{"version":"4, 6"},"gitHead":"7f112eeb2402ed3c561f9915f315fa2177cc0b0f","_id":"node-homedir@0.0.1","_shasum":"8ecae27633ba917fda0bc2c12a8a2ed7cca3dbd3","_from":".","_npmVersion":"3.8.6","_nodeVersion":"6.0.0","_npmUser":{"name":"ngot","email":"zhuanghengfei@gmail.com"},"dist":{"shasum":"8ecae27633ba917fda0bc2c12a8a2ed7cca3dbd3","tarball":"http://registry-npm.ywwl.com/node-homedir/download/node-homedir-0.0.1.tgz","integrity":"sha512-Jjvo++TDM/1zUpkapKBsoTK0weLpSab0YglarrIls79ZJ5z+6R2qwnIEfLmHUsFB53kikuGLppAfqLb/6jAASQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqfT8PhTVmQWO8w5eyrZKIl8y0rHzEHViX/Ucv/l7UXQIgbqcE++NG6xYZiXFg/p1hgErAnOVbIrb/dH28UC5BzYY="}],"size":1398,"noattachment":false,"key":"/node-homedir/-/node-homedir-0.0.1.tgz"},"maintainers":[{"name":"ngot","email":"zhuanghengfei@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/node-homedir-0.0.1.tgz_1476330505056_0.5042987801134586"},"directories":{},"readme":"# node-homedir\n\nGet the effective user's homedir, if Node.js >= v16.0.0 .\n\nAlways return the homedir of the current executor， even execute with `sudo -u [user] node app.js` without `-i`.\n\n[Reference Issue](https://github.com/nodejs/node/issues/5582)\n\n[![NPM version][npm-image]][npm-url]\n[![CI](https://github.com/node-modules/node-homedir/actions/workflows/nodejs.yml/badge.svg)](https://github.com/node-modules/node-homedir/actions/workflows/nodejs.yml)\n[![Test coverage][codecov-image]][codecov-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![npm download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/node-homedir.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/node-homedir\n[codecov-image]: https://codecov.io/github/node-modules/node-homedir/coverage.svg?branch=master\n[codecov-url]: https://codecov.io/github/node-modules/node-homedir?branch=master\n[snyk-image]: https://snyk.io/test/npm/node-homedir/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/node-homedir\n[download-image]: https://img.shields.io/npm/dm/node-homedir.svg?style=flat-square\n[download-url]: https://npmjs.org/package/node-homedir\n\n## Installation\n\n```bash\nnpm install node-homedir\n```\n\n## Usage\n\nCommonjs\n\n```js\nconst { homedir } = require('node-homedir');\n\nconsole.log(homedir());\n```\n\nESM & TypeScript\n\n```ts\nimport { homedir } from 'node-homedir';\n\nconsole.log(homedir());\n```\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1476330505899,"_cnpm_publish_time":1476330505899,"dist-tags":{"latest":"2.0.0"}}