{"_id":"license-collector","_rev":"27-02f72a9c80ad0a7e7582b06c2e7ba5b7","name":"license-collector","time":{"modified":"2022-06-19T12:11:23.665Z","created":"2016-04-07T19:58:14.416Z","0.0.1":"2016-04-07T19:58:14.416Z","0.0.2":"2016-04-08T07:24:41.354Z","0.0.3":"2016-04-08T07:29:09.829Z","0.0.4":"2016-04-08T07:33:43.668Z","0.0.5":"2016-04-08T07:44:47.348Z","0.0.6":"2016-04-08T07:51:20.814Z","0.0.8":"2016-04-08T07:54:59.769Z","0.0.9":"2016-04-08T08:15:04.159Z","0.0.0":"2016-04-08T09:28:27.162Z","0.0.10":"2016-04-08T10:34:21.477Z","0.0.11":"2016-04-08T10:35:38.376Z","0.1.0":"2016-04-17T19:09:33.260Z","0.1.1":"2016-04-18T11:10:53.985Z"},"maintainers":[{"name":"nielswijers","email":"nielswijers@gmail.com"}],"dist-tags":{"latest":"0.1.1"},"description":"a license collector for npm and bower dependencies","readme":"# [license-collector](https://github.com/nielswijers/license-collector)\n\n[![NPM version](http://img.shields.io/npm/v/license-collector.svg?style=flat-square)](https://www.npmjs.com/package/license-collector)\n[![NPM downloads](http://img.shields.io/npm/dm/license-collector.svg?style=flat-square)](https://www.npmjs.com/package/license-collector)\n[![Build Status](http://img.shields.io/travis/nielswijers/license-collector/master.svg?style=flat-square)](https://travis-ci.org/nielswijers/license-collector)\n[![Coverage Status](https://img.shields.io/coveralls/nielswijers/license-collector.svg?style=flat-square)](https://coveralls.io/nielswijers/license-collector)\n[![Dependency Status](http://img.shields.io/david/nielswijers/license-collector.svg?style=flat-square)](https://david-dm.org/nielswijers/license-collector)\n\n> a license collector for npm and bower dependencies\n\n### How to Install\n\n```sh\n$ npm install license-collector -g\n```\n\n### Getting Started\nYou can use the license collector in the cli or in code.\n\n## CLI\n```sh\nUsage: license-collector <directory ...> [options]\n\nOptions:\n\n  -h, --help              output usage information\n  -V, --version           output the version number\n  -o, --output [value]    Outputfile, use .json or .yml.\n  -n, --no_npm            Ignore npm packages\n  -b, --no_bower          Ignore bower packages\n  -p, --patterns [value]  comma separated list of possibible license files. fg. \"*license*,*readme*\"\n```\n\n## Javascript\n\n```javascript\nvar licenseCollector = require('license-collector').licenseCollector\nlicenseCollector(__dirname, {\n    ignoreNpm: true,\n    output: 'licenses.json',\n    verbose: true,\n    licensePatterns: ['*license*', '*readme*']\n}).then(function (result) {\n    done()\n}, console.log)\n```\n\n## Gulp\n\n```javascript\nvar licenseCollector = require('license-collector').licenseCollector\ngulp.task('licenses', function (done) {\n    licenseCollector(__dirname, {\n        ignoreNpm: true,\n        output: 'licenses.json',\n        verbose: true,\n        licensePatterns: ['*license*', '*readme*']\n    }).then(function (result) {\n        done()\n    }, console.log)\n})\n```\n\n### How to Test\n\nRun one, or a combination of the following commands to lint and test your code:\n\n```sh\n$ npm run lint          # Lint the source code with ESLint\n$ npm test              # Run unit tests with Mocha\n$ npm run test:watch    # Run unit tests with Mocha, and watch files for changes\n$ npm run test:cover    # Run unit tests with code coverage by Istanbul\n```\n\n### License\n\nMIT © 2016 niels wijers\n","versions":{"0.0.11":{"name":"license-collector","version":"0.0.11","description":"a license collector for npm and bower dependencies","repository":{"type":"git","url":"git+https://github.com/nielswijers/license-collector.git"},"author":{"name":"niels wijers"},"license":"MIT","keywords":[],"main":"lib/index.js","directories":{"lib":"lib","test":"test"},"babel":{"presets":["es2015","stage-0"],"plugins":["transform-runtime"]},"eslintConfig":{"parser":"babel-eslint","extends":"airbnb/base","rules":{"max-len":1}},"dependencies":{"babel-polyfill":"6.7.4","babel-runtime":"^6.6.1","bluebird":"3.3.4","colors":"1.1.2","commander":"2.9.0","glob-all":"3.0.1","js-yaml":"3.5.5","jsonfile":"2.2.3"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-eslint":"^6.0.2","babel-plugin-transform-runtime":"^6.6.0","babel-preset-es2015":"^6.6.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.7.2","bower":"1.7.9","chai":"^3.5.0","coveralls":"^2.11.9","eslint":"^2.6.0","eslint-config-airbnb":"6.2.0","eslint-plugin-react":"^4.2.3","istanbul":"^1.0.0-alpha.2","jscs":"2.11.0","mocha":"^2.4.5","proxyquire":"1.7.4","rimraf":"^2.5.2","sinon":"^2.0.0-pre","sinon-chai":"2.8.0","yamljs":"0.2.7"},"bin":{"license-collector":"./bin/license-collector"},"scripts":{"test:install":"npm run test:install:npm && npm run test:install:bower","test:install:npm":"for d in ./test/fixtures/*/package.json; do (cd $(dirname \"${d}\") && npm install); done","test:install:bower":"for d in ./test/fixtures/*/bower.json; do (cd $(dirname \"${d}\") && bower install); done;","lint":"eslint src test","test":"mocha --compilers js:babel-register","test:watch":"mocha --compilers js:babel-register --reporter min --watch","test:cover":"babel-node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rimraf lib && babel src --out-dir lib","publish":"rimraf lib && babel src --out-dir lib","publish:docs":"easystatic deploy docs --repo nielswijers/license-collector","start":"easystatic start docs"},"gitHead":"9c14eca52ea55c2421df5d7279460b5ae0641745","bugs":{"url":"https://github.com/nielswijers/license-collector/issues"},"homepage":"https://github.com/nielswijers/license-collector#readme","_id":"license-collector@0.0.11","_shasum":"e0be7583fe618b2098013f4c9a3f36b0aa072152","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"nielswijers","email":"nielswijers@gmail.com"},"dist":{"shasum":"e0be7583fe618b2098013f4c9a3f36b0aa072152","tarball":"https://registry.npmjs.org/license-collector/-/license-collector-0.0.11.tgz","integrity":"sha512-DaL07wC1vC3hAowRCKjwvkNccgWdA2+9bZR1xMoEyU8C/cxllDHmFG9fDudYI6adpPV3DHqqI/T6LYmTvqmttA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFz/PZ+oHFeIwPO42xUAk7wwsqeP0SWbBljfB7/ZuBUCAiEAhEleKFzJ66r9xJpbpx8Pdi9a7b1C0hNcrfyGZqeCSg8="}]},"maintainers":[{"name":"nielswijers","email":"nielswijers@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/license-collector-0.0.11.tgz_1460111736094_0.9365947598125786"}},"0.1.0":{"name":"license-collector","version":"0.1.0","description":"a license collector for npm and bower dependencies","repository":{"type":"git","url":"git+https://github.com/nielswijers/license-collector.git"},"author":{"name":"niels wijers"},"license":"MIT","keywords":[],"main":"lib/index.js","directories":{"lib":"lib","test":"test"},"babel":{"presets":["es2015","stage-0"],"plugins":["transform-runtime"]},"eslintConfig":{"parser":"babel-eslint","extends":"airbnb/base","rules":{"max-len":1}},"dependencies":{"babel-polyfill":"6.7.4","babel-runtime":"^6.6.1","bluebird":"3.3.4","colors":"1.1.2","commander":"2.9.0","glob-all":"3.0.1","js-yaml":"3.5.5","jsonfile":"2.2.3"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-eslint":"^6.0.2","babel-plugin-transform-runtime":"^6.6.0","babel-preset-es2015":"^6.6.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.7.2","bower":"1.7.9","chai":"^3.5.0","coveralls":"^2.11.9","eslint":"^2.6.0","eslint-config-airbnb":"6.2.0","eslint-plugin-react":"^4.2.3","istanbul":"^1.0.0-alpha.2","jscs":"2.11.0","mocha":"^2.4.5","proxyquire":"1.7.4","rimraf":"^2.5.2","sinon":"^2.0.0-pre","sinon-chai":"2.8.0","yamljs":"0.2.7"},"bin":{"license-collector":"./bin/license-collector"},"scripts":{"test:install":"npm run test:install:npm && npm run test:install:bower","test:install:npm":"for d in ./test/fixtures/*/package.json; do (cd $(dirname \"${d}\") && npm install); done","test:install:bower":"for d in ./test/fixtures/*/bower.json; do (cd $(dirname \"${d}\") && bower install); done;","lint":"eslint src test","test":"mocha --compilers js:babel-register","test:watch":"mocha --compilers js:babel-register --reporter min --watch","test:cover":"babel-node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rimraf lib && babel src --out-dir lib","publish":"rimraf lib && babel src --out-dir lib","publish:docs":"easystatic deploy docs --repo nielswijers/license-collector","start":"easystatic start docs"},"gitHead":"78683b3d8547fab4387ce4ab439b0c2d7df97c4f","bugs":{"url":"https://github.com/nielswijers/license-collector/issues"},"homepage":"https://github.com/nielswijers/license-collector#readme","_id":"license-collector@0.1.0","_shasum":"61e6205ae98d6cce37beaebd7dff1c5f844750cd","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"nielswijers","email":"nielswijers@gmail.com"},"dist":{"shasum":"61e6205ae98d6cce37beaebd7dff1c5f844750cd","tarball":"https://registry.npmjs.org/license-collector/-/license-collector-0.1.0.tgz","integrity":"sha512-k2ph3pPlv69YRa2fuZnYaquk/NK1Vo9OBzE72SXTpU1oFDEmbEhWpAF316h/pHAK2upmdd0NNM9U1vvrasqltQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqKxezVk3kSDlF2jA2Kyc9r0YxO32CrjAfazwMsXfzvQIgddKqds6iL0W3OCfVaCUXc4bDXCYTMQGNjHhMxshVoXA="}]},"maintainers":[{"name":"nielswijers","email":"nielswijers@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/license-collector-0.1.0.tgz_1460920172016_0.9577471106313169"}},"0.1.1":{"name":"license-collector","version":"0.1.1","description":"a license collector for npm and bower dependencies","repository":{"type":"git","url":"git+https://github.com/nielswijers/license-collector.git"},"author":{"name":"niels wijers"},"license":"MIT","keywords":[],"main":"lib/index.js","directories":{"lib":"lib","test":"test"},"babel":{"presets":["es2015","stage-0"],"plugins":["transform-runtime"]},"eslintConfig":{"parser":"babel-eslint","extends":"airbnb/base","rules":{"max-len":1}},"dependencies":{"babel-polyfill":"6.7.4","babel-runtime":"^6.6.1","bluebird":"3.3.4","colors":"1.1.2","commander":"2.9.0","glob-all":"3.0.1","js-yaml":"3.5.5","jsonfile":"2.2.3"},"devDependencies":{"babel-cli":"^6.6.5","babel-core":"^6.7.4","babel-eslint":"^6.0.2","babel-plugin-transform-runtime":"^6.6.0","babel-preset-es2015":"^6.6.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.7.2","bower":"1.7.9","chai":"^3.5.0","coveralls":"^2.11.9","eslint":"^2.6.0","eslint-config-airbnb":"6.2.0","eslint-plugin-react":"^4.2.3","istanbul":"^1.0.0-alpha.2","jscs":"2.11.0","mocha":"^2.4.5","proxyquire":"1.7.4","rimraf":"^2.5.2","sinon":"^2.0.0-pre","sinon-chai":"2.8.0","yamljs":"0.2.7"},"bin":{"license-collector":"./bin/license-collector"},"scripts":{"test:install":"npm run test:install:npm && npm run test:install:bower","test:install:npm":"for d in ./test/fixtures/*/package.json; do (cd $(dirname \"${d}\") && npm install); done","test:install:bower":"for d in ./test/fixtures/*/bower.json; do (cd $(dirname \"${d}\") && bower install); done;","lint":"eslint src test","test":"mocha --compilers js:babel-register","test:watch":"mocha --compilers js:babel-register --reporter min --watch","test:cover":"babel-node ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha","coveralls":"cat ./coverage/lcov.info | coveralls","build":"rimraf lib && babel src --out-dir lib","publish":"rimraf lib && babel src --out-dir lib","publish:docs":"easystatic deploy docs --repo nielswijers/license-collector","start":"easystatic start docs"},"gitHead":"49a6c78b838b0c7b7a01d28e87e6471e34f32c83","bugs":{"url":"https://github.com/nielswijers/license-collector/issues"},"homepage":"https://github.com/nielswijers/license-collector#readme","_id":"license-collector@0.1.1","_shasum":"ec92a5a3bd6c7e095ca1ad84629729e8ba0cb061","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.9.0","_npmUser":{"name":"nielswijers","email":"nielswijers@gmail.com"},"dist":{"shasum":"ec92a5a3bd6c7e095ca1ad84629729e8ba0cb061","tarball":"https://registry.npmjs.org/license-collector/-/license-collector-0.1.1.tgz","integrity":"sha512-9BWkZOKdPDhDkVC+W9DH5wMcxmeViAY8hE/IpegwIAA0XWEATMU7TaxpPLhRgT1zWP8JgFTuWgP6TieQSvlICA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAdfr0ap915HYg+IEKb+iKtvjRw1e56xtOND3Zdk4msLAiBXaT1eE6ZW2BR/eapZmGSJBcr+lFeqwZkrBESzN6CYgA=="}]},"maintainers":[{"name":"nielswijers","email":"nielswijers@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/license-collector-0.1.1.tgz_1460977852795_0.3082891721278429"}}},"homepage":"https://github.com/nielswijers/license-collector#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/nielswijers/license-collector.git"},"author":{"name":"niels wijers"},"bugs":{"url":"https://github.com/nielswijers/license-collector/issues"},"license":"MIT","readmeFilename":"README.md"}