{"_id":"@dickeyxxx/list-npm-contents","_rev":"1-938e2596923d2245c230523d9f2bb8a9","name":"@dickeyxxx/list-npm-contents","description":"List the contents of an npm package","dist-tags":{"latest":"0.0.0"},"versions":{"0.0.0":{"name":"@dickeyxxx/list-npm-contents","version":"0.0.0","description":"List the contents of an npm package","license":"MIT","repository":{"type":"git","url":"git+https://github.com/natecavanaugh/list-npm-contents.git"},"bin":{"list-npm-contents":"cli.js"},"author":{"name":"Nate Cavanaugh","email":"nate@shift22.com","url":"alterform.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"gulp test-coverage","coveralls":"gulp coveralls"},"keywords":["cli-app","cli","bin"],"dependencies":{"bluebird":"^3.5.0","get-npm-tarball-url":"^2.0.0","got":"^6.7.1","is-url":"^1.2.2","ls-archive":"^1.2.3","meow":"^3.3.0","tmp":"0.0.31"},"devDependencies":{"chai":"*","chai-string":"*","coveralls":"*","gulp":"*","gulp-coveralls":"*","gulp-help":"*","gulp-istanbul":"*","gulp-load-plugins":"*","gulp-mocha":"^3.0.1","istanbul":"*","mocha":"*","run-sequence":"*","sinon":"*"},"gitHead":"faa998d99032e55055e8bebf56187b85e97e47c7","bugs":{"url":"https://github.com/natecavanaugh/list-npm-contents/issues"},"homepage":"https://github.com/natecavanaugh/list-npm-contents#readme","_id":"@dickeyxxx/list-npm-contents@0.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.4.0","_npmUser":{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"},"dist":{"integrity":"sha512-QWPR2QfaT7bZP6Td7EThsmv5DdXWavOclCYxMztPqpLeSCoNO86XvJXpamrQwbov8iksQXDLjmqg3q6KuIFTzg==","shasum":"a621c067b8b55d9367c947354830943a7d2daaf4","tarball":"https://registry.npmjs.org/@dickeyxxx/list-npm-contents/-/list-npm-contents-0.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC20fLudSC2hjL8P8HaMyXehZyodwfTr/9rJ5YOJafF8AIhAKohIPmGhjDtMEPAdiT+yeNfakItNuxJg39iVr/dVlKJ"}]},"maintainers":[{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/list-npm-contents-0.0.0.tgz_1516150481339_0.8675017633941025"}}},"readme":"# list-npm-contents\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\n> List the file contents of an npm package\n\nThis will list the files that are actually in the tarball of the NPM module, not just what's reported in the files field of package.json.\n\n\n## Install\n\n```\n$ npm install --save list-npm-contents\n```\n\n\n## Usage\n\n```js\nvar listNpmContents = require('list-npm-contents');\n\nlistNpmContents('lpad').then(\n\tfiles => console.log(files)\n);\n//=> [ 'package.json', 'index.js', 'license', 'readme.md' ]\n\nlistNpmContents('lpad', '0.1.0').then(\n\tfiles => console.log(files)\n);\n//=> [ 'package.json', 'lpad.js', 'readme.md' ]\n```\n\n## CLI\n\n```\n$ npm install --global list-npm-contents\n```\n```\n$ list-npm-contents --help\n\n  Usage\n$ list-npm-contents package-name\n\n\tOptions\n\t-V, --module-version The version of the module you wish to view. Default: latest\n\n\tExamples:\n\t$ list-npm-contents lpad\n\tpackage.json\n\tindex.js\n\tlicense\n\treadme.md\n\n\t$ list-npm-contents lpad -V 0.1.0\n\tpackage.json\n\tlpad.js\n\treadme.md\n```\n\n\n## API\n\n### listNpmContents(packageName, [version])\n\n#### packageName\n\n*Required*\nType: `string`\n\nThe name of the package on NPM to look up the files for.\n\n#### version\n\nType: `string`\nDefault: `latest`\n\nThe version of the module to look for.\n\n## License\n\nMIT © [Nate Cavanaugh](http://alterform.com)\n\n[npm-image]: https://img.shields.io/npm/v/list-npm-contents.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/list-npm-contents\n[travis-image]: https://img.shields.io/travis/natecavanaugh/list-npm-contents/master.svg?style=flat-square\n[travis-url]: https://travis-ci.org/natecavanaugh/list-npm-contents\n[coveralls-image]: https://img.shields.io/coveralls/natecavanaugh/list-npm-contents/master.svg?style=flat-square\n[coveralls-url]: https://coveralls.io/r/natecavanaugh/list-npm-contents?branch=master","maintainers":[{"name":"dickeyxxx","email":"dickeytk+npm@gmail.com"}],"time":{"modified":"2022-04-05T04:23:09.195Z","created":"2018-01-17T00:54:41.434Z","0.0.0":"2018-01-17T00:54:41.434Z"},"homepage":"https://github.com/natecavanaugh/list-npm-contents#readme","keywords":["cli-app","cli","bin"],"repository":{"type":"git","url":"git+https://github.com/natecavanaugh/list-npm-contents.git"},"author":{"name":"Nate Cavanaugh","email":"nate@shift22.com","url":"alterform.com"},"bugs":{"url":"https://github.com/natecavanaugh/list-npm-contents/issues"},"license":"MIT","readmeFilename":"README.md"}