{"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"f64b5029a9234f03aff2e0beb5a7e31939f0ba44","tarball":"https://registry.npmjs.org/pnpm-list/-/pnpm-list-6.0.0-1.tgz","fileCount":15,"integrity":"sha512-R/v2GArxWTxkSwStX4EXbce60zgVgcl9X7zihh1ns/kB9VISvT4YdhlPegBIGx/GTjKg8MrqgIfXbkmIPHqyKQ==","signatures":[{"sig":"MEUCIHur3MnDTxCnQWf43BcawnJrYt+NvpTFPEoi9JpMSkNsAiEArouMGs37Q1aeU+QlXOswB7ILWf7AEgKHxEnWBylwLGU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19053,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUfYoCRA9TVsSAnZWagAA2zUP/RXC/timo8SbHFlXqrU0\nj2MM/dw1p9rEhflQ3z/WDkfchihNqcTG8hxf3g3LLgFjBHsL7+8zjeTODw/I\nDnUo+0IT8wYojmlZkofEHeE59pxYE66Uw9Femzc6IpIb2J42gBK3GDIeTpaS\n9aMmjHkxEdtrnzy9UVgulUrXz07va3Ox9oXHVbw1I1RfrocCHfOeMO5g047V\nn4Gb7B0BlLvs1bOA0L5cnNu0AnJzfZ78OdHYJVYOZT9itJWT4PIbul2Xe/+3\nPlbTYoIN4kHjccDA9BNz9xZZ3bGUfv0YgOAHJsFoRyJZwZIyMX7JeDlhlI9w\nU7Ld7QPFyGw6+AkdYA2rBgwtvV+0xrYYdJqZ3KU2EiQ+oeyCZfKw3sfNtSKC\nB5z65IEjzU5ZyqQOQI7KcEsHYwbwI+hCt05BTI7BK/0ASm1ejWindt9R275i\nkMsGS0gqhK6R4X7f9OtZgvzA0p0aqLmSZXPdgZ+l3DRnp/es9knr6FYwVK+A\n9LBDGteHN6ycTTLhzd7coVlV2XEO9aONG6jOHJ9XmHwDIlACunG9veAoWA+v\nn9AsjxOysjJA+G+iVkZv/zmbXoDlBz+rPvu2JUSmYYZ6QiJ/aWd9foGv0QuZ\nEvL4fIc4Ipi2gGevL9npxNUTT3A5trs5FX1jY1NwCW2ZnMyEn3knoAC7ZCfL\nPpr7\r\n=OhDd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"lib/index.js","name":"pnpm-list","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')-->\n[![npm version](https://img.shields.io/npm/v/pnpm-list.svg)](https://www.npmjs.com/package/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":">=8"},"license":"MIT","scripts":{"md":"tsc && mos","fix":"tslint -c tslint.json src/**/*.ts test/**/*.ts --fix","tsc":"tsc","lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","test":"npm run tsc && npm run lint && ts-node test --type-check","prepublishOnly":"tsc","prepareFixtures":"cd test && pnpm recursive install --no-link-workspace-packages && cd .."},"typings":"lib/index.d.ts","_npmUser":{"name":"zkochan","email":"z@kochan.io"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/list#readme","keywords":["pnpm","list","ls"],"repository":{"url":"https://github.com/pnpm/pnpm/blob/master/packages/list","type":"git"},"_npmVersion":"6.7.0","description":"List installed packages in a symlinked `node_modules`","directories":{},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_nodeVersion":"10.12.0","dependencies":{"archy":"1.0.0","chalk":"2.4.2","ramda":"0.26.1","p-limit":"2.1.0","@pnpm/types":"2.0.0","@types/node":"10.12.18","@types/archy":"0.0.31","@types/ramda":"0.25.39","dependencies-hierarchy":"5.0.0-1","@pnpm/read-package-json":"1.1.1","@zkochan/npm-package-arg":"1.0.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"mos":"2.0.0-alpha.3","tape":"4.9.2","tslint":"5.12.1","ts-node":"7.0.1","pnpm-list":"link:","typescript":"3.2.4","@types/tape":"4.2.33","common-tags":"1.8.0","@pnpm/logger":"2.1.0","mos-plugin-readme":"1.0.4","@types/common-tags":"1.8.0","@pnpm/tslint-config":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pnpm-list_6.0.0-1_1548875303607_0.28745803323339536","host":"s3://npm-registry-packages"},"_id":"pnpm-list@6.0.0-1","version":"6.0.0-1"}