{"name":"pnpm-list","version":"6.0.0-0","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":">=6"},"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-0","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-0","_nodeVersion":"10.12.0","_npmVersion":"6.6.0","dist":{"integrity":"sha512-gC6YtMot5jJtRXut44gmQGVTtgbv6gGvmBXjIGlXyYnYIWkHK3JNWTEyJazJ9bbYpYieynku9IirF67ROg4byw==","shasum":"0eb62b7e72e1a72f0b0496aa9aa09bfe25567dbe","tarball":"http://registry-npm.ywwl.com/pnpm-list/download/pnpm-list-6.0.0-0.tgz","fileCount":15,"unpackedSize":21698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcSiqDCRA9TVsSAnZWagAA9IsP/j9jB89B2rRVMsa1LPfR\nUmukA0VUpIJ4oMmbC9QZjv1aP9WB4SJOQCfHK2dPlqcyE6FUFMAL13d6rhDC\nYgrhkfx4baxplTWoNbdx902CfEc9Ku+4zNqDuTtTXvQEznC0dgrNEU4/R66O\nZEZls9tckCRrTtOeDOKfLqK456jqLlGLyneo/zGcjocQk1hkoMZl9a1cYhAN\nUlDJjs4GCzXGq1+yBqkUITWXk6C4s/MzjcHlnXsMBkchPF0YXHWmd8bhDJkZ\njK41TPpZRXHhVHX+HBiPEWy1yrnLFiHW9nGNSbR4wnJLHQbq/+X/+NIocOAB\nfInZ4jP3AmyOAvGevXii+QXJrctqZxS19BMks5NRSeqDjug/dvnp93C1QiRa\n5rV0oGaxJ1xCgtpbuBV1EyLwjT4KBzDJffpnVR1A5qGzfnmIp3ngGdefuitT\nhuSi9teZmZ7pOuU9n1Wo1ze3jG6H/NVnLyObgUzPyrTmQ1Zq4QS0wFKIM9Wg\nQ0phVgpaWLFHxP8/Ev+k8zpfVnJAZ6/w4gZ8PRJWFlUBsio4r8L+NfRhFW7o\nBg7qP0u8N62UzcJ2oyxGOe3+2WVA/eN8y6671B5MG1BZbIEr/SuEmAZ9nWMc\nNN792aTPER4X5viPKPTU0jIPTTytO9+i5KMv9/MA5TOVYNwRNANJrPM4XcQe\nyqCP\r\n=vFRW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDY18Vi7Nlclg7+zZnqr7t/Yv9OwmCTeV7d7KZYFAmctAiApZZJV/tkCYp2CFUCKdSfAQCT/XxmUZ1ADXABzXv5CwQ=="}],"size":6356,"noattachment":false,"key":"/pnpm-list/-/pnpm-list-6.0.0-0.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-0_1548364419120_0.6521339707597007"},"_hasShrinkwrap":false,"publish_time":1548364419243,"_cnpm_publish_time":1548364419243,"dist-tags":{"latest":"5.0.5","next":"6.0.0-2","next-major":"6.0.0-3"}}