{"name":"spdx-correct","description":"correct invalid SPDX identifiers","version":"1.0.0-prerelease-3","author":{"name":"Kyle Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx-correct/issues"},"dependencies":{"spdx":"^0.4.0"},"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":"spdx-correct.js","repository":{"type":"git","url":"https://github.com/kemitchell/spdx-correct"},"scripts":{"lint":"jshint spdx-correct.js test && jscs spdx-correct.js test","precommit":"npm run lint && npm run test","test":"jsmd README.md && tap test"},"gitHead":"0289b9068391d4a1db571137083e0beb18a2faef","_id":"spdx-correct@1.0.0-prerelease-3","_shasum":"5706cc6ce05b928a65564c76e1d6809ba033ac7e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"dist":{"shasum":"5706cc6ce05b928a65564c76e1d6809ba033ac7e","tarball":"http://registry-npm.ywwl.com/spdx-correct/download/spdx-correct-1.0.0-prerelease-3.tgz","integrity":"sha512-7kaPn3gmKv/eGEzK5Zt3hdrv1e0toPA5N/zuTYdXHMl8zgxZRWL5COXgiML9nlwZUJjhZZrUfj3fffEiNpOiaA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9R80b0GbB2qzzJpK/G1+sH34zMHJmBvTdRyHqgE6EqAiEA/hD+mi5LJbF0tOZXKp6dmXxrreDALWDnJ3xTMnmXjr0="}],"size":2223,"noattachment":false,"key":"/spdx-correct/-/spdx-correct-1.0.0-prerelease-3.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":1430898546723,"_cnpm_publish_time":1430898546723,"dist-tags":{"latest":"3.2.0"}}