{"_id":"pruner","_rev":"3372924","name":"pruner","description":"Prunes development dependencies from your package","dist-tags":{"latest":"0.0.7"},"maintainers":[{"name":"marshallofsound","email":""}],"time":{"modified":"2024-08-26T02:56:59.000Z","created":"2017-07-24T23:55:42.765Z","0.0.7":"2017-07-27T03:17:48.918Z","0.0.6":"2017-07-25T02:13:25.044Z","0.0.5":"2017-07-25T00:34:03.732Z","0.0.4":"2017-07-25T00:13:55.984Z","0.0.3":"2017-07-25T00:11:33.336Z","0.0.1":"2017-07-24T23:55:42.765Z","0.0.2":"2017-07-25T00:03:26.168Z"},"users":{},"author":{"name":"Samuel Attard"},"versions":{"0.0.7":{"name":"pruner","version":"0.0.7","description":"Prunes development dependencies from your package","main":"lib/index.js","scripts":{"build":"tsc","prepublish":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["prune","production"],"author":{"name":"Samuel Attard"},"license":"MIT","devDependencies":{"@types/fs-extra":"^4.0.0","@types/yargs":"^8.0.1","typescript":"^2.4.2"},"dependencies":{"fs-extra":"^4.0.0"},"gitHead":"153f5a2a16f954c5155b66609dd39c8c8ad49e88","_id":"pruner@0.0.7","_shasum":"345fbcb3e80701163a1d7adf56bac229a5a1e4c1","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"dist":{"shasum":"345fbcb3e80701163a1d7adf56bac229a5a1e4c1","size":4901,"noattachment":false,"key":"/pruner/-/pruner-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/pruner/download/pruner-0.0.7.tgz"},"maintainers":[{"name":"marshallofsound","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pruner-0.0.7.tgz_1501125468817_0.9206235071178526"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:39:53.437Z","publish_time":1501125468918,"_cnpm_publish_time":1501125468918},"0.0.6":{"name":"pruner","version":"0.0.6","description":"Prunes development dependencies from your package","main":"lib/index.js","scripts":{"build":"tsc","prepublish":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["prune","production"],"author":{"name":"Samuel Attard"},"license":"MIT","devDependencies":{"@types/fs-extra":"^4.0.0","@types/yargs":"^8.0.1","typescript":"^2.4.2"},"dependencies":{"fs-extra":"^4.0.0","yargs":"^8.0.2"},"gitHead":"1e6ab73c1c07adf223c4a3de26628003251afcba","_id":"pruner@0.0.6","_shasum":"07d7c3c0a99fa2d5f14626033320f80af4e5e3e5","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"dist":{"shasum":"07d7c3c0a99fa2d5f14626033320f80af4e5e3e5","size":3664,"noattachment":false,"key":"/pruner/-/pruner-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/pruner/download/pruner-0.0.6.tgz"},"maintainers":[{"name":"marshallofsound","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pruner-0.0.6.tgz_1500948804852_0.28930663503706455"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:39:53.350Z","publish_time":1500948805044,"_cnpm_publish_time":1500948805044},"0.0.5":{"name":"pruner","version":"0.0.5","description":"Prunes development dependencies from your package","main":"lib/index.js","scripts":{"build":"tsc","prepublish":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["prune","production"],"author":{"name":"Samuel Attard"},"license":"MIT","devDependencies":{"@types/fs-extra":"^4.0.0","@types/yargs":"^8.0.1","typescript":"^2.4.2"},"dependencies":{"fs-extra":"^4.0.0","yargs":"^8.0.2"},"gitHead":"6de4ab35ff36557626a46bbea75d9c9e8497ede7","_id":"pruner@0.0.5","_shasum":"424f97b097096c8cb19951e41266883813d62e16","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"dist":{"shasum":"424f97b097096c8cb19951e41266883813d62e16","size":3553,"noattachment":false,"key":"/pruner/-/pruner-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/pruner/download/pruner-0.0.5.tgz"},"maintainers":[{"name":"marshallofsound","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pruner-0.0.5.tgz_1500942843664_0.9497194506693631"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:39:52.442Z","publish_time":1500942843732,"_cnpm_publish_time":1500942843732},"0.0.4":{"name":"pruner","version":"0.0.4","description":"Prunes development dependencies from your package","main":"lib/index.js","scripts":{"build":"tsc","prepublish":"npm run build","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["prune","production"],"author":{"name":"Samuel Attard"},"license":"MIT","devDependencies":{"@types/fs-extra":"^4.0.0","@types/yargs":"^8.0.1","typescript":"^2.4.2"},"dependencies":{"fs-extra":"^4.0.0","yargs":"^8.0.2"},"gitHead":"ae0e26e61550f631e0f242890543129374331dc0","_id":"pruner@0.0.4","_shasum":"61a91a5b820c30436350b2ffc82a5f0bb66c1549","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"dist":{"shasum":"61a91a5b820c30436350b2ffc82a5f0bb66c1549","size":7885,"noattachment":false,"key":"/pruner/-/pruner-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/pruner/download/pruner-0.0.4.tgz"},"maintainers":[{"name":"marshallofsound","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pruner-0.0.4.tgz_1500941635805_0.7220086448360234"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:39:51.573Z","publish_time":1500941635984,"_cnpm_publish_time":1500941635984},"0.0.3":{"name":"pruner","version":"0.0.3","description":"Prunes development dependencies from your package","main":"lib/index.js","scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["prune","production"],"author":{"name":"Samuel Attard"},"license":"MIT","devDependencies":{"@types/fs-extra":"^4.0.0","@types/yargs":"^8.0.1","typescript":"^2.4.2"},"dependencies":{"fs-extra":"^4.0.0","yargs":"^8.0.2"},"gitHead":"d55c48dfc6866da29c38595e1b779fa33f0d84bb","_id":"pruner@0.0.3","_shasum":"6488fda8d7ae43b8081372a7a9e8280f539ed89f","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"dist":{"shasum":"6488fda8d7ae43b8081372a7a9e8280f539ed89f","size":3330,"noattachment":false,"key":"/pruner/-/pruner-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/pruner/download/pruner-0.0.3.tgz"},"maintainers":[{"name":"marshallofsound","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pruner-0.0.3.tgz_1500941493238_0.17417779006063938"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:39:50.690Z","publish_time":1500941493336,"_cnpm_publish_time":1500941493336},"0.0.1":{"name":"pruner","version":"0.0.1","description":"Prunes development dependencies from your package","main":"lib/index.js","scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["prune","production"],"author":{"name":"Samuel Attard"},"license":"MIT","devDependencies":{"@types/fs-extra":"^4.0.0","@types/yargs":"^8.0.1","typescript":"^2.4.2"},"dependencies":{"fs-extra":"^4.0.0","yargs":"^8.0.2"},"gitHead":"e5c06bf33f8db80a215ba6190371d0693b7552c4","_id":"pruner@0.0.1","_shasum":"26277eb918de5af2a49c05af01e336085febcb63","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"dist":{"shasum":"26277eb918de5af2a49c05af01e336085febcb63","size":2002,"noattachment":false,"key":"/pruner/-/pruner-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/pruner/download/pruner-0.0.1.tgz"},"maintainers":[{"name":"marshallofsound","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pruner-0.0.1.tgz_1500940542657_0.8120838578324765"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:39:48.895Z","publish_time":1500940542765,"_cnpm_publish_time":1500940542765},"0.0.2":{"name":"pruner","version":"0.0.2","description":"Prunes development dependencies from your package","main":"lib/index.js","scripts":{"build":"tsc","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["prune","production"],"author":{"name":"Samuel Attard"},"license":"MIT","devDependencies":{"@types/fs-extra":"^4.0.0","@types/yargs":"^8.0.1","typescript":"^2.4.2"},"dependencies":{"fs-extra":"^4.0.0","yargs":"^8.0.2"},"gitHead":"7d9b398fad8fe2673b8ea0ad62b2c70a91bbef6a","_id":"pruner@0.0.2","_shasum":"2434101cbab3a0298b50178306f8227913681c0b","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"marshallofsound","email":"samuel.r.attard@gmail.com"},"dist":{"shasum":"2434101cbab3a0298b50178306f8227913681c0b","size":3328,"noattachment":false,"key":"/pruner/-/pruner-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/pruner/download/pruner-0.0.2.tgz"},"maintainers":[{"name":"marshallofsound","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/pruner-0.0.2.tgz_1500941005904_0.3959029109682888"},"directories":{},"_cnpmcore_publish_time":"2021-12-20T07:39:49.772Z","publish_time":1500941006168,"_cnpm_publish_time":1500941006168}},"readme":"Pruner\r\n-----------\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm i --save-dev pruner\r\n```\r\n\r\n## API\r\n\r\n### Class: `Walker`\r\n\r\n```js\r\nimport { Walker } from 'pruner';\r\n\r\n// modulePath is the root folder of your module\r\nconst walker = new Walker(modulePath);\r\n```\r\n\r\n#### `walker.prune()`\r\n\r\nPrunes all dependencies that aren't required for production or optional\r\ndependencies.","_attachments":{},"license":"MIT"}