{"name":"pnpm-list","version":"6.0.0-1","description":"List installed packages in a symlinked `node_modules`","main":"lib/index.js","typings":"lib/index.d.ts","scripts":{"fix":"tslint -c tslint.json src/**/*.ts test/**/*.ts --fix","lint":"tslint -c tslint.json src/**/*.ts test/**/*.ts","md":"tsc && mos","prepareFixtures":"cd test && pnpm recursive install --no-link-workspace-packages && cd ..","prepublishOnly":"tsc","test":"npm run tsc && npm run lint && ts-node test --type-check","tsc":"tsc"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/master/packages/list"},"keywords":["pnpm","list","ls"],"author":{"name":"Zoltan Kochan","email":"z@kochan.io","url":"https://www.kochan.io/"},"engines":{"node":">=8"},"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/master/packages/list#readme","dependencies":{"@pnpm/read-package-json":"1.1.1","@pnpm/types":"2.0.0","@types/archy":"0.0.31","@types/node":"10.12.18","@types/ramda":"0.25.39","@zkochan/npm-package-arg":"1.0.1","archy":"1.0.0","chalk":"2.4.2","dependencies-hierarchy":"5.0.0-1","p-limit":"2.1.0","ramda":"0.26.1"},"devDependencies":{"@pnpm/logger":"2.1.0","@pnpm/tslint-config":"0.0.0","@types/common-tags":"1.8.0","@types/tape":"4.2.33","common-tags":"1.8.0","mos":"2.0.0-alpha.3","mos-plugin-readme":"1.0.4","pnpm-list":"link:","tape":"4.9.2","ts-node":"7.0.1","tslint":"5.12.1","typescript":"3.2.4"},"mos":{"plugins":["readme"],"installation":{"useShortAlias":true}},"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","readmeFilename":"README.md","_id":"pnpm-list@6.0.0-1","_nodeVersion":"10.12.0","_npmVersion":"6.7.0","dist":{"integrity":"sha512-R/v2GArxWTxkSwStX4EXbce60zgVgcl9X7zihh1ns/kB9VISvT4YdhlPegBIGx/GTjKg8MrqgIfXbkmIPHqyKQ==","shasum":"f64b5029a9234f03aff2e0beb5a7e31939f0ba44","tarball":"http://registry-npm.ywwl.com/pnpm-list/download/pnpm-list-6.0.0-1.tgz","fileCount":15,"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","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHur3MnDTxCnQWf43BcawnJrYt+NvpTFPEoi9JpMSkNsAiEArouMGs37Q1aeU+QlXOswB7ILWf7AEgKHxEnWBylwLGU="}],"size":6058,"noattachment":false,"key":"/pnpm-list/-/pnpm-list-6.0.0-1.tgz"},"maintainers":[{"name":"zkochan","email":"zoltan.kochan@gmail.com"}],"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pnpm-list_6.0.0-1_1548875303607_0.28745803323339536"},"_hasShrinkwrap":false,"publish_time":1548875303701,"_cnpm_publish_time":1548875303701,"dist-tags":{"latest":"5.0.5","next":"6.0.0-2","next-major":"6.0.0-3"}}