{"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"bugs":{"url":"https://github.com/pnpm/pnpm-list/issues"},"dist":{"shasum":"994b4f7aa8cf70d9cd3d9b087b47dcfea73ca066","tarball":"https://registry.npmjs.org/pnpm-list/-/pnpm-list-4.0.0.tgz","fileCount":15,"integrity":"sha512-CFCdu3sJjEPNta/d9CN2psO4R5oVHiS8ToGK9ULW8EIYMTnAmOQXlMl2CliCEoUpgCxWghc/h7RPUjmvIZxSlw==","signatures":[{"sig":"MEUCIQCcoXjFJbQJPuWZE9JF41vl26AOTjpKcnG0bjl4tfcTXgIgJm24QfVPPbVNEXCXc6VRml+4xZtg0dzqyMopdeEHXIc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"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"},"main":"lib/index.js","name":"pnpm-list","files":["lib"],"author":{"url":"https://www.kochan.io/","name":"Zoltan Kochan","email":"z@kochan.io"},"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","engines":{"node":">=6"},"gitHead":"322b8cc23c14031dc75d0ca89f287cb53db8de93","license":"MIT","scripts":{"md":"tsc && mos","fix":"tslint -c tslint.json --project . --fix","tsc":"tsc","lint":"tslint -c tslint.json --project .","test":"npm run lint && preview && ts-node test --type-check","prepublishOnly":"tsc"},"typings":"lib/index.d.ts","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"homepage":"https://github.com/pnpm/pnpm-list#readme","keywords":["pnpm","list","ls"],"repository":{"url":"git+https://github.com/pnpm/pnpm-list.git","type":"git"},"_npmVersion":"6.2.0","description":"List installed packages in a symlinked `node_modules`","directories":{},"greenkeeper":{"ignore":["dependencies-hierarchy"]},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_nodeVersion":"9.10.1","dependencies":{"archy":"^1.0.0","chalk":"^2.3.0","ramda":"^0.25.0","p-limit":"^2.0.0","thenify":"^3.3.0","@types/node":"^9.3.0 || 10","@types/archy":"^0.0.31","@types/ramda":"^0.25.0","npm-package-arg":"^6.0.0","read-package-json":"^2.0.12","dependencies-hierarchy":"^3.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mos":"^2.0.0-alpha.3","tape":"^4.7.0","tslint":"^5.8.0","ts-node":"^7.0.0","typescript":"^2.5.3","@types/tape":"^4.2.30","common-tags":"^1.4.0","@pnpm/logger":"^2.1.0","package-preview":"^1.0.0","mos-plugin-readme":"^1.0.4","@types/common-tags":"^1.2.5"},"_npmOperationalInternal":{"tmp":"tmp/pnpm-list_4.0.0_1531666034413_0.5407786752417647","host":"s3://npm-registry-packages"},"_id":"pnpm-list@4.0.0","version":"4.0.0"}