{"name":"spdx-correct","description":"correct invalid SPDX identifiers","version":"1.0.0-prerelease-1","author":{"name":"Kyle Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx-correct/issues"},"dependencies":{"spdx":"^0.1.2"},"devDependencies":{"jscs":"^1.13.0","jshint":"^2.7.0","jsmd":"^0.3.0","tap":"^0.7.1"},"homepage":"https://github.com/kemitchell/spdx-correct","keywords":["SPDX","law","legal","license","metadata"],"license":"Apache-2.0","main":"source/spdx-correct.js","repository":{"type":"git","url":"https://github.com/kemitchell/spdx-correct"},"scripts":{"lint":"jshint source && jscs source","precommit":"npm run lint && npm run test","test":"jsmd README.md && tap --timeout 60 test"},"gitHead":"d1454dae24ea2d5a9610f7da3378ca1c65518fa1","_id":"spdx-correct@1.0.0-prerelease-1","_shasum":"31a67d2fc64afda1d0cc80c0e253c85e44aa87c7","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"dist":{"shasum":"31a67d2fc64afda1d0cc80c0e253c85e44aa87c7","tarball":"http://registry-npm.ywwl.com/spdx-correct/download/spdx-correct-1.0.0-prerelease-1.tgz","integrity":"sha512-vMGzPvNImHDpdQPPjy7rxBY09vRTZrT5EUvxDLpYesq+iPsQMMm3gkKlROKp9dVYKPk0jaDRZy/y6IQJO4BeQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGIuDBQ6VbEyTlj7koJuHkpRIbbyM/773aVh7mqE5zHHAiEAjigwwpnvQPEE/2F2CQx6IzZ1+7ucXzXLy8q678ljmmU="}],"size":1314,"noattachment":false,"key":"/spdx-correct/-/spdx-correct-1.0.0-prerelease-1.tgz"},"directories":{},"readme":"## Usage\n\n```javascript\nvar correct = require('spdx-correct')\nvar assert = require('assert')\n\nassert.strictEqual(correct('mit'), 'MIT')\n\nassert.strictEqual(correct('Apache 2'), 'Apache-2.0')\n\nassert(correct('No idea what license') === null)\n\n// disable upgrade option\nassert(correct('GPL-3.0'), 'GPL-3.0-or-later')\nassert(correct('GPL-3.0', { upgrade: false }), 'GPL-3.0')\n```\n\n## Contributors\n\nspdx-correct has benefited from the work of several contributors.\nSee [the GitHub repository](https://github.com/jslicense/spdx-correct.js/graphs/contributors)\nfor more information.\n","publish_time":1430343837752,"_cnpm_publish_time":1430343837752,"dist-tags":{"latest":"3.2.0"}}