layaair2-cmd
Version:
layaair version 2 toolkit
130 lines (129 loc) • 6.15 kB
JSON
{
"_args": [
[
{
"raw": "homedir-polyfill@^1.0.1",
"scope": null,
"escapedName": "homedir-polyfill",
"name": "homedir-polyfill",
"rawSpec": "^1.0.1",
"spec": ">=1.0.1 <2.0.0",
"type": "range"
},
"E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\expand-tilde"
]
],
"_from": "homedir-polyfill@>=1.0.1 <2.0.0",
"_id": "homedir-polyfill@1.0.1",
"_inCache": true,
"_location": "/homedir-polyfill",
"_nodeVersion": "5.1.1",
"_npmOperationalInternal": {
"host": "packages-12-west.internal.npmjs.com",
"tmp": "tmp/homedir-polyfill-1.0.1.tgz_1480604864152_0.3404128428082913"
},
"_npmUser": {
"name": "doowb",
"email": "brian.woodward@gmail.com"
},
"_npmVersion": "3.7.5",
"_phantomChildren": {},
"_requested": {
"raw": "homedir-polyfill@^1.0.1",
"scope": null,
"escapedName": "homedir-polyfill",
"name": "homedir-polyfill",
"rawSpec": "^1.0.1",
"spec": ">=1.0.1 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/expand-tilde",
"/global-prefix"
],
"_resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz",
"_shasum": "4c2bbc8a758998feebf5ed68580f76d46768b4bc",
"_shrinkwrap": null,
"_spec": "homedir-polyfill@^1.0.1",
"_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\expand-tilde",
"author": {
"name": "Brian Woodward",
"url": "https://github.com/doowb"
},
"bugs": {
"url": "https://github.com/doowb/homedir-polyfill/issues"
},
"dependencies": {
"parse-passwd": "^1.0.0"
},
"description": "Node.js os.homedir polyfill for older versions of node.js.",
"devDependencies": {
"gulp-format-md": "^0.1.11",
"mocha": "^3.1.2"
},
"directories": {},
"dist": {
"shasum": "4c2bbc8a758998feebf5ed68580f76d46768b4bc",
"tarball": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js",
"LICENSE"
],
"gitHead": "e052b447041d10f4eb4140ab1569a9c8f5f78cd7",
"homepage": "https://github.com/doowb/homedir-polyfill",
"keywords": [
"home",
"homedir",
"homedirectory",
"os",
"os-homedir",
"polyfill",
"userhome"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "doowb",
"email": "brian.woodward@gmail.com"
}
],
"name": "homedir-polyfill",
"optionalDependencies": {},
"readme": "# homedir-polyfill [](https://www.npmjs.com/package/homedir-polyfill) [](https://npmjs.org/package/homedir-polyfill) [](https://travis-ci.org/doowb/homedir-polyfill) [](https://ci.appveyor.com/project/doowb/homedir-polyfill)\n\n> Node.js os.homedir polyfill for older versions of node.js.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save homedir-polyfill\n```\n\n## Usage\n\n```js\nvar homedir = require('homedir-polyfill');\nconsole.log(homedir());\n//=> /Users/doowb\n```\n\n## Reasoning\n\nThis library is a polyfill for the [node.js os.homedir](https://nodejs.org/api/os.html#os_os_homedir) method found in modern versions of node.js.\n\nThis implementation tries to follow the implementation found in `libuv` by finding the current user using the `process.geteuid()` method and the `/etc/passwd` file. This should usually work in a linux environment, but will also fallback to looking at user specific environment variables to build the user's home directory if neccessary.\n\nSince `/etc/passwd` is not available on windows platforms, this implementation will use environment variables to find the home directory.\n\nIn modern versions of node.js, [os.homedir](https://nodejs.org/api/os.html#os_os_homedir) is used.\n\n## About\n\n### Related projects\n\n[parse-passwd](https://www.npmjs.com/package/parse-passwd): Parse a passwd file into a list of users. | [homepage](https://github.com/doowb/parse-passwd \"Parse a passwd file into a list of users.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](contributing.md) for avice on opening issues, pull requests, and coding standards.\n\n### Building docs\n\n_(This document was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme) (a [verb](https://github.com/verbose/verb) generator), please don't edit the readme directly. Any changes to the readme must be made in [.verb.md](.verb.md).)_\n\nTo generate the readme and API documentation with [verb](https://github.com/verbose/verb):\n\n```sh\n$ npm install -g verb verb-generate-readme && verb\n```\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Brian Woodward**\n\n* [github/doowb](https://github.com/doowb)\n* [twitter/doowb](http://twitter.com/doowb)\n\n### License\n\nCopyright © 2016, [Brian Woodward](https://github.com/doowb).\nReleased under the [MIT license](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.2.0, on October 19, 2016._",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/doowb/homedir-polyfill.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"lint": {
"reflinks": true
},
"related": {
"list": [
"parse-passwd"
]
},
"reflinks": [
"verb",
"verb-generate-readme"
]
},
"version": "1.0.1"
}