{"_id":"spdx-ranges","_rev":"3183890","name":"spdx-ranges","description":"list of SPDX standard license ranges","dist-tags":{"latest":"2.1.1"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"time":{"modified":"2023-12-06T08:48:44.000Z","created":"2015-08-01T23:58:51.756Z","2.1.1":"2019-08-08T17:24:55.712Z","2.1.0":"2019-01-19T19:39:38.685Z","2.0.0":"2018-03-07T06:10:39.251Z","1.0.1":"2015-08-02T04:13:26.749Z","1.0.0":"2015-08-01T23:58:51.756Z"},"users":{},"author":{"name":"The Linux Foundation"},"repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-ranges.js.git"},"versions":{"2.1.1":{"name":"spdx-ranges","description":"list of SPDX standard license ranges","version":"2.1.1","author":{"name":"The Linux Foundation"},"contributors":[{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"https://kemitchell.com/"}],"devDependencies":{"defence-cli":"^3.0.1","replace-require-self":"^1.1.1"},"license":"(MIT AND CC-BY-3.0)","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-ranges.js.git"},"scripts":{"test":"defence -i javascript README.md | replace-require-self | node"},"gitHead":"e943260950eecbb8c96d05cd2a3fffc0c0d73604","bugs":{"url":"https://github.com/kemitchell/spdx-ranges.js/issues"},"homepage":"https://github.com/kemitchell/spdx-ranges.js#readme","_id":"spdx-ranges@2.1.1","_nodeVersion":"10.16.2","_npmVersion":"6.9.0","dist":{"shasum":"87573927ba51e92b3f4550ab60bfc83dd07bac20","size":2153,"noattachment":false,"key":"/spdx-ranges/-/spdx-ranges-2.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx-ranges/download/spdx-ranges-2.1.1.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-ranges_2.1.1_1565285095614_0.10490275215903644"},"_hasShrinkwrap":false,"publish_time":1565285095712,"_cnpm_publish_time":1565285095712,"_cnpmcore_publish_time":"2021-12-16T22:37:36.277Z"},"2.1.0":{"name":"spdx-ranges","description":"list of SPDX standard license ranges","version":"2.1.0","author":{"name":"The Linux Foundation"},"contributors":[{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"https://kemitchell.com/"}],"devDependencies":{"defence-cli":"^1.0.1"},"license":"CC-BY-3.0","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-ranges.js.git"},"scripts":{"test":"defence -i javascript README.md | sed 's!spdx-ranges!./!' | node"},"gitHead":"458c6e660fc60e5b7dd3c2885a1ecbe24c56f819","bugs":{"url":"https://github.com/kemitchell/spdx-ranges.js/issues"},"homepage":"https://github.com/kemitchell/spdx-ranges.js#readme","_id":"spdx-ranges@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"033423eb837ec926463aaf5b8097bd6f2931e1b8","size":1955,"noattachment":false,"key":"/spdx-ranges/-/spdx-ranges-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx-ranges/download/spdx-ranges-2.1.0.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-ranges_2.1.0_1547926778550_0.029603503011168097"},"_hasShrinkwrap":false,"publish_time":1547926778685,"_cnpm_publish_time":1547926778685,"_cnpmcore_publish_time":"2021-12-16T22:37:36.504Z"},"2.0.0":{"name":"spdx-ranges","description":"list of SPDX standard license ranges","version":"2.0.0","author":{"name":"The Linux Foundation"},"contributors":[{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"https://kemitchell.com/"}],"devDependencies":{"defence-cli":"^1.0.1"},"license":"CC-BY-3.0","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-ranges.js.git"},"scripts":{"test":"defence -i javascript README.md | sed 's!spdx-ranges!./!' | node"},"gitHead":"e8f29163fbce166ab5be55d1099a774d8153d84f","bugs":{"url":"https://github.com/kemitchell/spdx-ranges.js/issues"},"homepage":"https://github.com/kemitchell/spdx-ranges.js#readme","_id":"spdx-ranges@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"257686798e5edb41d45c1aba3d3f1bb47af8d5ec","size":1968,"noattachment":false,"key":"/spdx-ranges/-/spdx-ranges-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx-ranges/download/spdx-ranges-2.0.0.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-ranges_2.0.0_1520403039196_0.33671346690138604"},"_hasShrinkwrap":false,"publish_time":1520403039251,"_cnpm_publish_time":1520403039251,"_cnpmcore_publish_time":"2021-12-16T22:37:36.758Z"},"1.0.1":{"name":"spdx-ranges","description":"list of SPDX standard license ranges","version":"1.0.1","author":{"name":"The Linux Foundation"},"contributors":[{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"https://kemitchell.com/"}],"devDependencies":{"defence-cli":"^1.0.1"},"license":"CC-BY-3.0","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-ranges.js.git"},"scripts":{"test":"defence -i javascript README.md | sed 's!spdx-ranges!./!' | node"},"gitHead":"874ec672e494c878bc04a03da20ae52c15e2678f","bugs":{"url":"https://github.com/kemitchell/spdx-ranges.js/issues"},"homepage":"https://github.com/kemitchell/spdx-ranges.js#readme","_id":"spdx-ranges@1.0.1","_shasum":"0f4eec7b8ea48ed202e374bb8942e8d18dc0113e","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.7","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"0f4eec7b8ea48ed202e374bb8942e8d18dc0113e","size":1824,"noattachment":false,"key":"/spdx-ranges/-/spdx-ranges-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx-ranges/download/spdx-ranges-1.0.1.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"directories":{},"publish_time":1438488806749,"_hasShrinkwrap":false,"_cnpm_publish_time":1438488806749,"_cnpmcore_publish_time":"2021-12-16T22:37:36.934Z"},"1.0.0":{"name":"spdx-ranges","version":"1.0.0","description":"list of SPDX standard license ranges","author":{"name":"The Linux Foundation"},"repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx-ranges.js.git"},"license":"CC-BY-3.0","scripts":{"test":"defence -i javascript README.md | sed 's!spdx-ranges!./!' | node"},"devDependencies":{"defence-cli":"^1.0.1"},"gitHead":"afaef10fdaa7498bfc9978a00b2d0a034ab54fb6","bugs":{"url":"https://github.com/kemitchell/spdx-ranges.js/issues"},"homepage":"https://github.com/kemitchell/spdx-ranges.js#readme","_id":"spdx-ranges@1.0.0","_shasum":"63628bbca70795bfb15e3d11385ea696800e3651","_from":".","_npmVersion":"2.13.3","_nodeVersion":"0.12.7","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"63628bbca70795bfb15e3d11385ea696800e3651","size":1145,"noattachment":false,"key":"/spdx-ranges/-/spdx-ranges-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx-ranges/download/spdx-ranges-1.0.0.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"}],"directories":{},"publish_time":1438473531756,"_hasShrinkwrap":false,"_cnpm_publish_time":1438473531756,"_cnpmcore_publish_time":"2021-12-16T22:37:37.124Z"}},"readme":"## Usage\n\n```javascript\nvar assert = require('assert')\nvar ranges = require('spdx-ranges')\n\nassert(\n  Array.isArray(ranges),\n  'module is an Array'\n)\n\nassert(\n  ranges.length > 0,\n  'the Array has elements'\n)\n\nassert(\n  ranges.every(function (e) {\n    return Array.isArray(e)\n  }),\n  'each Array element is an Array'\n)\n\nassert(\n  ranges.every(function (range) {\n    return range.every(function (element) {\n      return (\n        typeof element === 'string' ||\n        (\n          Array.isArray(element) &&\n          element.every(function (element) {\n            return typeof element === 'string'\n          })\n        )\n      )\n    })\n  }),\n  'elements of Array-elements are strings or Arrays of Strings'\n)\n```\n\n## Licensing\n\nThe Linux Foundation and its contributors license the SPDX standard under the terms of [the Creative Commons Attribution License 3.0 Unported (SPDX: \"CC-BY-3.0\")](http://spdx.org/licenses/CC-BY-3.0).  \"SPDX\" is a United States federally registered trademark of the Linux Foundation.  The authors of this package license their work under the terms of the MIT License.\n","_attachments":{},"homepage":"https://github.com/kemitchell/spdx-ranges.js#readme","bugs":{"url":"https://github.com/kemitchell/spdx-ranges.js/issues"},"license":"(MIT AND CC-BY-3.0)"}