{"_id":"spdx-compare","_rev":"6-0b121871e2c567c96cc9133162a25f1c","name":"spdx-compare","description":"compare SPDX license expressions","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"spdx-compare","description":"compare SPDX license expressions","version":"0.1.0","author":{"name":"Kyle E. Mtichell","email":"kyle@kemitchell.com","url":"https://kemitchell.com"},"dependencies":{"spdx":"0.4.x"},"devDependencies":{"tape":"^4.0.0"},"license":"MIT","main":"spdx-compare.js","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-compare.js.git"},"scripts":{"test":"tape test.js"},"gitHead":"dd63ad7bec35e0b8f9e20252fd878d6eb966db90","bugs":{"url":"https://github.com/kemitchell/spdx-compare.js/issues"},"homepage":"https://github.com/kemitchell/spdx-compare.js#readme","_id":"spdx-compare@0.1.0","_shasum":"bc49277c3951d7dafe8f24a9fe9e4c1e0c062724","_from":".","_npmVersion":"2.13.1","_nodeVersion":"0.12.7","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"bc49277c3951d7dafe8f24a9fe9e4c1e0c062724","tarball":"https://registry.npmjs.org/spdx-compare/-/spdx-compare-0.1.0.tgz","integrity":"sha512-hPdKdIiPGJLy8GZQJlrK7sin7fMe/ArgIWZXOf9g2CcfPVKcJ6GGogMGwKKRZNh3JUdVxjPGFm0yq0Y4644q6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkjRdL77bWDQeqTe4QZt8lBJdfxvIkmwXhNJRlmt/ShgIhALNJXevOgAW/bUAFoWSAYHWairlIa+y0Q1395HgHw6hq"}]},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"directories":{}},"0.1.2":{"name":"spdx-compare","description":"compare SPDX license expressions","version":"0.1.2","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"https://kemitchell.com"},"dependencies":{"spdx-expression-parse":"^1.0.0","spdx-ranges":"^1.0.0"},"devDependencies":{"defence-cli":"^1.0.1"},"keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-compare.js.git"},"scripts":{"test":"defence -i javascript README.md | sed 's!spdx-compare!./!' | node"},"gitHead":"47660351317fb2e9abfcd0261628b98a5695ada1","bugs":{"url":"https://github.com/kemitchell/spdx-compare.js/issues"},"homepage":"https://github.com/kemitchell/spdx-compare.js#readme","_id":"spdx-compare@0.1.2","_shasum":"b06af3ea34af7437d91a9f449eaf2d2e93c3c8fb","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.7","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"b06af3ea34af7437d91a9f449eaf2d2e93c3c8fb","tarball":"https://registry.npmjs.org/spdx-compare/-/spdx-compare-0.1.2.tgz","integrity":"sha512-Wc1aAqOHvP0e9H6Q6Ie56rGc9Mn00xmhqiB1BaKfMsBpJw/BPp6FLkuKxLcubHXIXwAKTTyvA2E74aPUv8OA8A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvd9VAlMhRULJLw/YVrrqd2y+vtOnEuj+Q1mjmOIzOhAiARngt0mGNLblEm9/6rEq29Fz9WKL9GfMk1nEfxFFIEkA=="}]},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"directories":{}},"1.0.0":{"name":"spdx-compare","description":"compare SPDX license expressions","version":"1.0.0","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"https://kemitchell.com"},"dependencies":{"array-find-index":"^1.0.2","spdx-expression-parse":"^3.0.0","spdx-ranges":"^2.0.0"},"devDependencies":{"defence-cli":"^2.0.1"},"keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-compare.js.git"},"scripts":{"test":"defence -i javascript README.md | sed 's!spdx-compare!./!' | node"},"gitHead":"cb7853325dc0aafdeeec932590781c1dd4b40ff7","bugs":{"url":"https://github.com/kemitchell/spdx-compare.js/issues"},"homepage":"https://github.com/kemitchell/spdx-compare.js#readme","_id":"spdx-compare@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"integrity":"sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==","shasum":"2c55f117362078d7409e6d7b08ce70a857cd3ed7","tarball":"https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz","fileCount":5,"unpackedSize":4196,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICoyk1WQasGMb2+bJXS2mcjvlIqOaJk7pRpnE6+YqggAAiEA/YP8GUNq+fX7dTby551eLLaxtIMhfjFhhsYylgSrTPA="}]},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-compare_1.0.0_1520403789661_0.2744025757271067"},"_hasShrinkwrap":false}},"readme":"```javascript\nvar assert = require('assert')\nvar compare = require('spdx-compare')\n\nassert(compare.gt('GPL-3.0', 'GPL-2.0'))\nassert(compare.gt('GPL-3.0-only', 'GPL-2.0-only'))\nassert(compare.gt('GPL-2.0-or-later', 'GPL-2.0-only'))\nassert(compare.eq('GPL-3.0-or-later', 'GPL-3.0-only'))\nassert(compare.lt('MPL-1.0', 'MPL-2.0'))\n\nassert(compare.gt('LPPL-1.3a', 'LPPL-1.0'))\nassert(compare.gt('LPPL-1.3c', 'LPPL-1.3a'))\nassert(!compare.gt('MIT', 'ISC'))\nassert(!compare.gt('OSL-1.0', 'OPL-1.0'))\nassert(compare.gt('AGPL-3.0', 'AGPL-1.0'))\n\nassert.throws(function () {\n  compare.gt('(MIT OR ISC)', 'GPL-3.0')\n}, '\"(MIT OR ISC)\" is not a simple license identifier')\n```\n","maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"time":{"modified":"2022-06-26T22:40:33.440Z","created":"2015-07-18T21:07:17.009Z","0.1.0":"2015-07-18T21:07:17.009Z","0.1.2":"2015-08-02T04:06:00.769Z","1.0.0":"2018-03-07T06:23:09.707Z"},"homepage":"https://github.com/kemitchell/spdx-compare.js#readme","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-compare.js.git"},"author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"https://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx-compare.js/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"]}