layaair2-cmd
Version:
layaair version 2 toolkit
124 lines (123 loc) • 5.47 kB
JSON
{
"_args": [
[
{
"raw": "parse-passwd@^1.0.0",
"scope": null,
"escapedName": "parse-passwd",
"name": "parse-passwd",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\homedir-polyfill"
]
],
"_from": "parse-passwd@>=1.0.0 <2.0.0",
"_id": "parse-passwd@1.0.0",
"_inCache": true,
"_location": "/parse-passwd",
"_nodeVersion": "5.1.1",
"_npmOperationalInternal": {
"host": "packages-18-east.internal.npmjs.com",
"tmp": "tmp/parse-passwd-1.0.0.tgz_1476899025854_0.2723590866662562"
},
"_npmUser": {
"name": "doowb",
"email": "brian.woodward@gmail.com"
},
"_npmVersion": "3.7.5",
"_phantomChildren": {},
"_requested": {
"raw": "parse-passwd@^1.0.0",
"scope": null,
"escapedName": "parse-passwd",
"name": "parse-passwd",
"rawSpec": "^1.0.0",
"spec": ">=1.0.0 <2.0.0",
"type": "range"
},
"_requiredBy": [
"/homedir-polyfill"
],
"_resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz",
"_shasum": "6d5b934a456993b23d37f40a382d6f1666a8e5c6",
"_shrinkwrap": null,
"_spec": "parse-passwd@^1.0.0",
"_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\homedir-polyfill",
"author": {
"name": "Brian Woodward",
"url": "https://github.com/doowb"
},
"bugs": {
"url": "https://github.com/doowb/parse-passwd/issues"
},
"dependencies": {},
"description": "Parse a passwd file into a list of users.",
"devDependencies": {
"gulp-format-md": "^0.1.11",
"mocha": "^3.1.2"
},
"directories": {},
"dist": {
"shasum": "6d5b934a456993b23d37f40a382d6f1666a8e5c6",
"tarball": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz"
},
"engines": {
"node": ">=0.10.0"
},
"files": [
"index.js",
"LICENSE"
],
"gitHead": "0c3c36bcb48d1af473f7f0665adb5b4c892cd506",
"homepage": "https://github.com/doowb/parse-passwd",
"keywords": [
"etc",
"etc-passwd",
"etc/passwd",
"parse",
"parse-passwd",
"passwd"
],
"license": "MIT",
"main": "index.js",
"maintainers": [
{
"name": "doowb",
"email": "brian.woodward@gmail.com"
}
],
"name": "parse-passwd",
"optionalDependencies": {},
"readme": "# parse-passwd [](https://www.npmjs.com/package/parse-passwd) [](https://npmjs.org/package/parse-passwd) [](https://travis-ci.org/doowb/parse-passwd) [](https://ci.appveyor.com/project/doowb/parse-passwd)\n\n> Parse a passwd file into a list of users.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save parse-passwd\n```\n\n## Usage\n\n```js\nvar parse = require('parse-passwd');\n```\n\n## API\n\n**Example**\n\n```js\n// assuming '/etc/passwd' contains:\n// doowb:*:123:123:Brian Woodward:/Users/doowb:/bin/bash\nconsole.log(parse(fs.readFileSync('/etc/passwd', 'utf8')));\n\n//=> [\n//=> {\n//=> username: 'doowb',\n//=> password: '*',\n//=> uid: '123',\n//=> gid: '123',\n//=> gecos: 'Brian Woodward',\n//=> homedir: '/Users/doowb',\n//=> shell: '/bin/bash'\n//=> }\n//=> ]\n```\n\n**Params**\n\n* `content` **{String}**: Content of a passwd file to parse.\n* `returns` **{Array}**: Array of user objects parsed from the content.\n\n## About\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/parse-passwd.git"
},
"scripts": {
"test": "mocha"
},
"verb": {
"toc": false,
"layout": "default",
"tasks": [
"readme"
],
"plugins": [
"gulp-format-md"
],
"lint": {
"reflinks": true
},
"related": {
"list": []
},
"reflinks": [
"verb",
"verb-generate-readme"
]
},
"version": "1.0.0"
}