{"name":"pnpm-list","version":"4.0.0","description":"List installed packages in a symlinked `node_modules`","main":"lib/index.js","typings":"lib/index.d.ts","files":["lib"],"scripts":{"fix":"tslint -c tslint.json --project . --fix","lint":"tslint -c tslint.json --project .","test":"npm run lint && preview && ts-node test --type-check","prepublishOnly":"tsc","tsc":"tsc","md":"tsc && mos"},"repository":{"type":"git","url":"git+https://github.com/pnpm/pnpm-list.git"},"keywords":["pnpm","list","ls"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"engines":{"node":">=6"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm-list/issues"},"homepage":"https://github.com/pnpm/pnpm-list#readme","dependencies":{"@types/archy":"^0.0.31","@types/node":"^9.3.0 || 10","@types/ramda":"^0.25.0","archy":"^1.0.0","chalk":"^2.3.0","dependencies-hierarchy":"^3.0.0","npm-package-arg":"^6.0.0","p-limit":"^2.0.0","ramda":"^0.25.0","read-package-json":"^2.0.12","thenify":"^3.3.0"},"devDependencies":{"@pnpm/logger":"^2.1.0","@types/common-tags":"^1.2.5","@types/tape":"^4.2.30","common-tags":"^1.4.0","mos":"^2.0.0-alpha.3","mos-plugin-readme":"^1.0.4","package-preview":"^1.0.0","tape":"^4.7.0","ts-node":"^7.0.0","tslint":"^5.8.0","typescript":"^2.5.3"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"greenkeeper":{"ignore":["dependencies-hierarchy"]},"readme":"# pnpm-list\n\n> List installed packages in a symlinked \\`node_modules\\`\n\n<!--@shields('npm', 'travis')-->\n[![npm version](https://img.shields.io/npm/v/pnpm-list.svg)](https://www.npmjs.com/package/pnpm-list) [![Build Status](https://img.shields.io/travis/pnpm/pnpm-list/master.svg)](https://travis-ci.org/pnpm/pnpm-list)\n<!--/@-->\n\n## Install\n\nInstall it via npm.\n\n    npm install pnpm-list\n\n## Usage\n\n<!--@example('./example/index.js')-->\n```js\n'use strict'\nconst pnpmList = require('pnpm-list').default\n\npnpmList(__dirname, {depth: 2})\n  .then(output => {\n    console.log(output)\n    //> pnpm-list@0.0.1 /home/zkochan/src/pnpm/pnpm-list/example\n    //  └─┬ write-pkg@3.1.0\n    //    ├─┬ sort-keys@2.0.0\n    //    │ └── is-plain-obj@1.1.0\n    //    └─┬ write-json-file@2.2.0\n    //      ├── detect-indent@5.0.0\n    //      ├── graceful-fs@4.1.11\n    //      ├── make-dir@1.0.0\n    //      ├── pify@2.3.0\n    //      ├── sort-keys@1.1.2\n    //      └── write-file-atomic@2.1.0\n  })\n```\n<!--/@-->\n\n## API\n\n### default: `list(path, [opts]): Promise<string>`\n\nReturns a string output similar to the `npm ls` but for [pnpm](github.com/pnpm/pnpm).\n\n### Arguments\n\n* `path` - *String* - path to the project\n* `[opts.depth]` - *number* - `0` by default. Max display depth of the dependency tree.\n* `[opts.only]` - *dev | prod* - `null` by default. Display only the dependency tree for packages in `devDependencies` or `dependencies`.\n* `[opts.long]` - *Boolean* - `false` by default. If true, show extended information.\n* `[opts.parseable]` - *Boolean* - `false` by default. Show parseable output instead of tree view.\n* `[opts.alwaysPrintRootPackage]` - *Boolean* - `true` by default. Print the root package even if no dependencies found/matched.\n\n### `forPackages(packages, path, [opts]): Promise<string>`\n\nReturns a string output similar to the `npm ls [<@scope>/]<pkg> ...` but for [pnpm](github.com/pnpm/pnpm).\n\n### Arguments\n\n* `packages` - *String[]* - an array of `name@version-range` identifiers, which will limit the results to only the paths to the packages named.\n* `path` - *String* - path to the project\n* `[opts.depth]` - *number* - `0` by default. Max display depth of the dependency tree.\n* `[opts.only]` - *dev | prod* - `null` by default. Display only the dependency tree for packages in `devDependencies` or `dependencies`.\n* `[opts.long]` - *Boolean* - `false` by default. If true, show extended information.\n* `[opts.parseable]` - *Boolean* - `false` by default. Show parseable output instead of tree view.\n* `[opts.alwaysPrintRootPackage]` - *Boolean* - `true` by default. Print the root package even if no dependencies found/matched..\n\n## License\n\n[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io/)\n","readmeFilename":"README.md","gitHead":"322b8cc23c14031dc75d0ca89f287cb53db8de93","_id":"pnpm-list@4.0.0","_npmVersion":"6.2.0","_nodeVersion":"9.10.1","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"dist":{"integrity":"sha512-CFCdu3sJjEPNta/d9CN2psO4R5oVHiS8ToGK9ULW8EIYMTnAmOQXlMl2CliCEoUpgCxWghc/h7RPUjmvIZxSlw==","shasum":"994b4f7aa8cf70d9cd3d9b087b47dcfea73ca066","tarball":"http://registry-npm.ywwl.com/pnpm-list/download/pnpm-list-4.0.0.tgz","fileCount":15,"unpackedSize":19821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbS15yCRA9TVsSAnZWagAA0GEP/jhW6Z5xYIo0unsg3Mqt\nx05i2WFuWRVD6hRgUo0L08CI+CLNLeJrWn6HZ9PCzDi/UF655ziAO9zdwhWw\nyvDXbFyz2qB27iXpov63Bh68sSzMnFDvXNI7c8s/0Xixf12UqnmTEHucHGgv\nSMrgcmjcUCvS5L8OPNYPjesuZVY8xilLHY4ioJ34df4WwlDRqk71sFwAjHle\nQPqnpijWeJ3jxKrL3cmtaNg8wp/8dGC4+xCDl14KPkQRdkhodKC9lI+G65yK\nggSOtMB8gNJWXLIg3bFXUUJs20mikeYslF8AAbydYNiMKDJKb5j2RN7v9slA\ntPM5CG021DaTphdCDsM1HZCN48fPQPas6zjdj84q7BE1wHdot/cfz/lSzTSu\nor173wUkitaP6OVD/j2e8U8hbhUlgVJ7IxB+qa/hyO1mTXdfRnau9vWOo9zA\nH/vPtTSPRnbAWqi4N+7vgidULlh4+IlXz2XQNe3AAs3l2rN2MEU+2WU7lIXm\nWHUBbO2c6l6D/+V2j2sXs9YelnMYeA8iYYhQdd2/LG4hcycEPTVXKdLNk4Bn\nnUElGVJPguwXXDih/q6f/wzsmkgmqdGo6g5PYPCpWzVQUxURr3StTwUJk5Wg\nQmo38Gs1IcdKJzRmuTjp0bghiga3gEg3JePo91A2xEGAWZF05hL8yoZvPqfq\nQx1P\r\n=KUob\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcoXjFJbQJPuWZE9JF41vl26AOTjpKcnG0bjl4tfcTXgIgJm24QfVPPbVNEXCXc6VRml+4xZtg0dzqyMopdeEHXIc="}],"size":5868,"noattachment":false,"key":"/pnpm-list/-/pnpm-list-4.0.0.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pnpm-list_4.0.0_1531666034413_0.5407786752417647"},"_hasShrinkwrap":false,"publish_time":1531666034479,"_cnpm_publish_time":1531666034479,"dist-tags":{"latest":"5.0.5","next":"6.0.0-2","next-major":"6.0.0-3"}}