{
  "_id": "parse-passwd",
  "maintainers": [
    {
      "name": "doowb",
      "email": "brian.woodward@gmail.com"
    }
  ],
  "keywords": [
    "etc",
    "etc-passwd",
    "etc/passwd",
    "parse",
    "parse-passwd",
    "passwd"
  ],
  "dist-tags": {
    "latest": "1.0.0"
  },
  "author": {
    "name": "Brian Woodward",
    "url": "https://github.com/doowb"
  },
  "_rev": "4-0a7f27f6fcf45babaa47f28ef1fe740b",
  "description": "Parse a passwd file into a list of users.",
  "readme": "# parse-passwd [![NPM version](https://img.shields.io/npm/v/parse-passwd.svg?style=flat)](https://www.npmjs.com/package/parse-passwd) [![NPM downloads](https://img.shields.io/npm/dm/parse-passwd.svg?style=flat)](https://npmjs.org/package/parse-passwd) [![Linux Build Status](https://img.shields.io/travis/doowb/parse-passwd.svg?style=flat&label=Travis)](https://travis-ci.org/doowb/parse-passwd) [![Windows Build Status](https://img.shields.io/appveyor/ci/doowb/parse-passwd.svg?style=flat&label=AppVeyor)](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._",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/doowb/parse-passwd.git"
  },
  "users": {
    "zuojiang": true
  },
  "bugs": {
    "url": "https://github.com/doowb/parse-passwd/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "parse-passwd",
      "description": "Parse a passwd file into a list of users.",
      "version": "1.0.0",
      "homepage": "https://github.com/doowb/parse-passwd",
      "author": {
        "name": "Brian Woodward",
        "url": "https://github.com/doowb"
      },
      "repository": {
        "type": "git",
        "url": "git+https://github.com/doowb/parse-passwd.git"
      },
      "bugs": {
        "url": "https://github.com/doowb/parse-passwd/issues"
      },
      "license": "MIT",
      "files": [
        "index.js",
        "LICENSE"
      ],
      "main": "index.js",
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "mocha"
      },
      "devDependencies": {
        "gulp-format-md": "^0.1.11",
        "mocha": "^3.1.2"
      },
      "keywords": [
        "etc",
        "etc-passwd",
        "etc/passwd",
        "parse",
        "parse-passwd",
        "passwd"
      ],
      "verb": {
        "toc": false,
        "layout": "default",
        "tasks": [
          "readme"
        ],
        "plugins": [
          "gulp-format-md"
        ],
        "lint": {
          "reflinks": true
        },
        "related": {
          "list": []
        },
        "reflinks": [
          "verb",
          "verb-generate-readme"
        ]
      },
      "gitHead": "0c3c36bcb48d1af473f7f0665adb5b4c892cd506",
      "_id": "parse-passwd@1.0.0",
      "_shasum": "6d5b934a456993b23d37f40a382d6f1666a8e5c6",
      "_from": ".",
      "_npmVersion": "3.7.5",
      "_nodeVersion": "5.1.1",
      "_npmUser": {
        "name": "doowb",
        "email": "brian.woodward@gmail.com"
      },
      "dist": {
        "shasum": "6d5b934a456993b23d37f40a382d6f1666a8e5c6",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/parse-passwd/-/parse-passwd-1.0.0.tgz",
        "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDCMfMesO0SK7lcSy691Q57w8MUq73ZMRE75ZCEhtTHCgIhAM9j18wfoftRlqd2TGgWE/kI5I2Tu6Sj+AZFxLUAsSar"
          }
        ]
      },
      "maintainers": [
        {
          "name": "doowb",
          "email": "brian.woodward@gmail.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "packages-18-east.internal.npmjs.com",
        "tmp": "tmp/parse-passwd-1.0.0.tgz_1476899025854_0.2723590866662562"
      }
    }
  },
  "name": "parse-passwd",
  "time": {
    "modified": "2026-05-20T15:56:36.787Z",
    "created": "2016-10-19T17:43:46.626Z",
    "1.0.0": "2016-10-19T17:43:46.626Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/doowb/parse-passwd"
}