{"_id":"spdx","_rev":"5949","name":"spdx","description":"SPDX License Expression Syntax parser","dist-tags":{"latest":"0.5.2"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"time":{"modified":"2021-06-03T09:56:48.000Z","created":"2015-04-24T16:42:37.959Z","0.5.2":"2018-08-06T21:06:27.142Z","0.5.1":"2016-02-18T00:20:23.255Z","0.5.0":"2015-12-01T07:03:31.390Z","0.4.3":"2015-12-01T06:53:07.166Z","0.4.2":"2015-11-25T19:26:33.360Z","0.4.1":"2015-06-05T20:54:06.982Z","0.4.0":"2015-05-06T07:40:26.378Z","0.3.0":"2015-05-06T00:54:00.907Z","0.2.1":"2015-05-03T21:21:57.640Z","0.2.0":"2015-05-01T09:14:03.110Z","0.1.2":"2015-04-24T17:01:36.871Z","0.1.1":"2015-04-24T16:51:40.381Z","0.1.0":"2015-04-24T16:42:37.959Z"},"users":{"cxueqin":true,"itonyyo":true,"miloc":true,"agent651":true,"isenricho":true},"author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"versions":{"0.5.2":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.5.2","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-exceptions":"^1.0.0","spdx-license-ids":"^1.0.0"},"devDependencies":{"defence-cli":"^1.0.1","jison":"^0.4.15","replace-require-self":"^1.0.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"prepublish":"node generate-parser.js > parser.generated.js","pretest":"npm run prepublish","test":"defence README.md | replace-require-self | node"},"gitHead":"6e0dcd316809d276f6d25056ea9847e424d9d4be","_id":"spdx@0.5.2","_npmVersion":"6.3.0","_nodeVersion":"8.11.1","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"76a428b9b97e7904ef83e62a4af0d06fdb50c265","size":12514,"noattachment":false,"key":"/spdx/-/spdx-0.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.5.2.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx_0.5.2_1533589587089_0.07408520277671404"},"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c.","publish_time":1533589587142,"_cnpm_publish_time":1533589587142},"0.5.1":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.5.1","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-exceptions":"^1.0.0","spdx-license-ids":"^1.0.0"},"devDependencies":{"defence-cli":"^1.0.1","jison":"^0.4.15","replace-require-self":"^1.0.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"prepublish":"node generate-parser.js > parser.generated.js","pretest":"npm run prepublish","test":"defence README.md | replace-require-self | node"},"gitHead":"0f231bad40b721871e17e76469add5b2dd3d9d86","_id":"spdx@0.5.1","_shasum":"d36c275088b48d75a9046cd44a838ce4b5339998","_from":".","_npmVersion":"3.7.2","_nodeVersion":"5.6.0","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"d36c275088b48d75a9046cd44a838ce4b5339998","size":12329,"noattachment":false,"key":"/spdx/-/spdx-0.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.5.1.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/spdx-0.5.1.tgz_1455754819250_0.09989792807027698"},"directories":{},"publish_time":1455754823255,"_cnpm_publish_time":1455754823255,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.5.0":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.5.0","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-exceptions":"^1.0.0","spdx-license-ids":"^1.0.0"},"devDependencies":{"defence-cli":"^1.0.1","jison":"^0.4.15","replace-require-self":"^1.0.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"prepublish":"node generate-parser.js > parser.generated.js","pretest":"npm run prepublish","test":"defence README.md | replace-require-self | node"},"gitHead":"d1cc33ebdbbe3244515f4afedef337b1d1dd4ef0","_id":"spdx@0.5.0","_shasum":"e8380bc9651c8ede98afa46d2d1c804dc46b5749","_from":".","_npmVersion":"3.4.0","_nodeVersion":"5.1.0","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"e8380bc9651c8ede98afa46d2d1c804dc46b5749","size":12241,"noattachment":false,"key":"/spdx/-/spdx-0.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.5.0.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"directories":{},"publish_time":1448953411390,"_cnpm_publish_time":1448953411390,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.4.3":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.4.3","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-license-ids":"^1.0.0"},"devDependencies":{"docco":"^0.7.0","fixpack":"^2.2.0","jison":"^0.4.15","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"Apache-2.0","main":"source/spdx.js","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"build":"node build/parser.js > source/parser.generated.js","doc":"docco --output documentation source/spdx.js","lint":"fixpack && jshint build source/spdx.js && jscs build source/spdx.js","precommit":"npm run lint && npm run test","prepublish":"npm run build","pretest":"npm run build","test":"jsmd README.md"},"gitHead":"c15ce4ac2f7a629e4d58c6532fda88977db68840","_id":"spdx@0.4.3","_shasum":"ab373c3fcf7b84ffd8fdeb0592d24ff0d14812e4","_from":".","_npmVersion":"3.4.0","_nodeVersion":"5.1.0","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"ab373c3fcf7b84ffd8fdeb0592d24ff0d14812e4","size":23236,"noattachment":false,"key":"/spdx/-/spdx-0.4.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.4.3.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"directories":{},"publish_time":1448952787166,"_cnpm_publish_time":1448952787166,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.4.2":{"name":"spdx","description":"parse SPDX license expressions","version":"0.4.2","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-exceptions":"^1.0.0","spdx-license-ids":"^1.0.0"},"devDependencies":{"defence-cli":"^1.0.1","jison":"^0.4.15","replace-require-self":"^1.0.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"prepublish":"node generate-parser.js > parser.generated.js","pretest":"npm run prepublish","test":"defence README.md | replace-require-self | node"},"gitHead":"d54d741609c6b99dff484d335926548996d3520a","_id":"spdx@0.4.2","_shasum":"6c43bdd6b4b27f0235394b6d1bedbf5788d4793d","_from":".","_npmVersion":"3.4.0","_nodeVersion":"5.1.0","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"6c43bdd6b4b27f0235394b6d1bedbf5788d4793d","size":11839,"noattachment":false,"key":"/spdx/-/spdx-0.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.4.2.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"directories":{},"publish_time":1448479593360,"_cnpm_publish_time":1448479593360,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c.","_hasShrinkwrap":false},"0.4.1":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.4.1","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-license-ids":"^1.0.0"},"devDependencies":{"docco":"^0.7.0","fixpack":"^2.2.0","jison":"^0.4.15","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"Apache-2.0","main":"source/spdx.js","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"build":"node build/parser.js > source/parser.generated.js","doc":"docco --output documentation source/spdx.js","lint":"fixpack && jshint build source/spdx.js && jscs build source/spdx.js","precommit":"npm run lint && npm run test","prepublish":"npm run build","pretest":"npm run build","test":"jsmd README.md"},"gitHead":"e98233f7ebfa27ceec7d9f9bd77d7eb003ca3210","_id":"spdx@0.4.1","_shasum":"eb43a2d83483e7073d24184b5ca0d00f33e184ff","_from":".","_npmVersion":"2.11.0","_nodeVersion":"2.2.1","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"dist":{"shasum":"eb43a2d83483e7073d24184b5ca0d00f33e184ff","size":13169,"noattachment":false,"key":"/spdx/-/spdx-0.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.4.1.tgz"},"directories":{},"publish_time":1433537646982,"_cnpm_publish_time":1433537646982,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.4.0":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.4.0","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-license-ids":"^1.0.0"},"devDependencies":{"docco":"^0.7.0","fixpack":"^2.2.0","jison":"^0.4.15","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","legal","license","metadata","package","package.json","standards"],"license":"Apache-2.0","main":"source/spdx.js","repository":{"type":"git","url":"https://github.com/kemitchell/spdx.js"},"scripts":{"build":"node build/parser.js > source/parser.generated.js","doc":"docco --output documentation source/spdx.js","lint":"fixpack && jshint build source/spdx.js && jscs build source/spdx.js","precommit":"npm run lint && npm run test","prepublish":"npm run build","pretest":"npm run build","test":"jsmd README.md"},"gitHead":"7186b8f92f0aa3c8f087e73b5f98bd1c776a4d3f","_id":"spdx@0.4.0","_shasum":"5a5cbff1a457b57b15204cafd3d0ea9ad9652ef8","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"dist":{"shasum":"5a5cbff1a457b57b15204cafd3d0ea9ad9652ef8","size":13143,"noattachment":false,"key":"/spdx/-/spdx-0.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.4.0.tgz"},"directories":{},"publish_time":1430898026378,"_cnpm_publish_time":1430898026378,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.3.0":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.3.0","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"dependencies":{"spdx-license-ids":"^1.0.0"},"devDependencies":{"check-versions":"^1.0.0","docco":"^0.7.0","fixpack":"^2.2.0","jison":"^0.4.15","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","license","license expression","metadata","standards"],"license":"Apache-2.0","main":"source/spdx.js","repository":{"type":"git","url":"https://github.com/kemitchell/spdx.js"},"scripts":{"build":"node build/parser.js > source/parser.generated.js","check":"check-versions --check-module","doc":"docco --output documentation source/spdx.js","lint":"fixpack && jshint build source/spdx.js && jscs build source/spdx.js","precommit":"npm run check && npm run lint && npm run test","prepublish":"npm run build","pretest":"npm run build","test":"jsmd README.md"},"gitHead":"7883bc895777eb9ed9d605f65377a5c1411414ab","_id":"spdx@0.3.0","_shasum":"be4529a7df1d4adb1fc0ac40785ef7c8d25010df","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"dist":{"shasum":"be4529a7df1d4adb1fc0ac40785ef7c8d25010df","size":13652,"noattachment":false,"key":"/spdx/-/spdx-0.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.3.0.tgz"},"directories":{},"publish_time":1430873640907,"_cnpm_publish_time":1430873640907,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.2.1":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.2.1","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"devDependencies":{"check-versions":"^1.0.0","docco":"^0.7.0","fixpack":"^2.2.0","jison":"^0.4.15","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","license","license expression","metadata","standards"],"license":"Apache-2.0","main":"source/spdx.js","repository":{"type":"git","url":"https://github.com/kemitchell/spdx.js"},"scripts":{"build":"node build/parser.js > source/parser.generated.js","check":"check-versions --check-module","doc":"docco --output documentation source/spdx.js","lint":"fixpack && jshint build source/spdx.js && jscs build source/spdx.js","precommit":"npm run check && npm run lint && npm run test","prepublish":"npm run build","pretest":"npm run build","test":"jsmd README.md"},"gitHead":"2785a6ba744a8d85d060a1ef07d4b1daaf5a1b6e","_id":"spdx@0.2.1","_shasum":"89e81d174ba5d18f82f8f6ea1264b67b685ae51c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"dist":{"shasum":"89e81d174ba5d18f82f8f6ea1264b67b685ae51c","size":13654,"noattachment":false,"key":"/spdx/-/spdx-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.2.1.tgz"},"directories":{},"publish_time":1430688117640,"_cnpm_publish_time":1430688117640,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.2.0":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.2.0","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"devDependencies":{"check-versions":"^1.0.0","docco":"^0.7.0","fixpack":"^2.2.0","jison":"^0.4.15","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","license","license expression","metadata","standards"],"license":"Apache-2.0","main":"source/spdx.js","repository":{"type":"git","url":"https://github.com/kemitchell/spdx.js"},"scripts":{"build":"node build/parser.js > source/parser.generated.js","check":"check-versions --check-module","doc":"docco --output documentation source/spdx.js","lint":"fixpack && jshint build source/spdx.js && jscs build source/spdx.js","precommit":"npm run check && npm run lint && npm run test","prepublish":"npm run build","pretest":"npm run build","test":"jsmd README.md"},"gitHead":"703714c01963c2adac8fc9805e85a41cd157872d","_id":"spdx@0.2.0","_shasum":"568f60a645d0814a28651f03639090ddb22bf35c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"dist":{"shasum":"568f60a645d0814a28651f03639090ddb22bf35c","size":13522,"noattachment":false,"key":"/spdx/-/spdx-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.2.0.tgz"},"directories":{},"publish_time":1430471643110,"_cnpm_publish_time":1430471643110,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.1.2":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.1.2","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"devDependencies":{"check-versions":"^1.0.0","docco":"^0.7.0","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","license","license expression","metadata","standards"],"license":"Apache-2.0","main":"spdx.js","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"check":"check-versions --check-module","doc":"docco --output documentation spdx.js","lint":"jshint spdx.js && jscs spdx.js","precommit":"npm run check && npm run lint && npm run test","test":"jsmd README.md"},"gitHead":"b24ef78b91dcce2fb6930251c22661f50b12028f","_id":"spdx@0.1.2","_shasum":"a8e437e9256b48cb7e87dfffa0bc0f140a7d09b5","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.7.2","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"a8e437e9256b48cb7e87dfffa0bc0f140a7d09b5","size":4944,"noattachment":false,"key":"/spdx/-/spdx-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.1.2.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"directories":{},"publish_time":1429894896871,"_cnpm_publish_time":1429894896871,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.1.1":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.1.1","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"devDependencies":{"check-versions":"^1.0.0","docco":"^0.7.0","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","license","license expression","metadata","standards"],"license":"Apache-2.0","main":"spdx.js","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"check":"check-versions --check-module","doc":"docco --output documentation spdx.js","lint":"jshint spdx.js && jscs spdx.js","precommit":"npm run check && npm run lint && npm run test","test":"jsmd README.md"},"gitHead":"039ee18467127b41cbddad6a01924042b208a391","_id":"spdx@0.1.1","_shasum":"b9b4668e5d1a98882f78acce84107c6f7f0a0fc6","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.7.2","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"b9b4668e5d1a98882f78acce84107c6f7f0a0fc6","size":4904,"noattachment":false,"key":"/spdx/-/spdx-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.1.1.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"directories":{},"publish_time":1429894300381,"_cnpm_publish_time":1429894300381,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."},"0.1.0":{"name":"spdx","description":"SPDX License Expression Syntax parser","version":"0.1.0","author":{"name":"Kyle E. Mitchell","email":"kyle@kemitchell.com","url":"http://kemitchell.com"},"bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"devDependencies":{"check-versions":"^1.0.0","docco":"^0.7.0","jscs":"^1.12.0","jshint":"^2.7.0","jsmd":"^0.3.0"},"homepage":"https://github.com/kemitchell/spdx.js","keywords":["SPDX","law","license","license expression","metadata","standards"],"license":"Apache-2.0","main":"spdx.js","repository":{"type":"git","url":"git+https://github.com/kemitchell/spdx.js.git"},"scripts":{"check":"check-versions --check-module","doc":"docco --output documentation spdx.js","lint":"jshint spdx.js && jscs spdx.js","precommit":"npm run check && npm run lint && npm run test","test":"jsmd README.md"},"gitHead":"a0e7f811e21c0f32d65cf5a927a0d580f483c604","_id":"spdx@0.1.0","_shasum":"8d4bd6a612ac41127a8799aeb8d8afc04ddee982","_from":".","_npmVersion":"2.8.3","_nodeVersion":"1.7.2","_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"dist":{"shasum":"8d4bd6a612ac41127a8799aeb8d8afc04ddee982","size":4869,"noattachment":false,"key":"/spdx/-/spdx-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/spdx/download/spdx-0.1.0.tgz"},"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"othiym23","email":"ogd@aoaioxxysz.net"}],"directories":{},"publish_time":1429893757959,"_cnpm_publish_time":1429893757959,"_hasShrinkwrap":false,"deprecated":"see spdx-expression-parse, spdx-satisfies, &c."}},"readme":"# Use Other Packages\n\n**Development on spdx.js has moved to separate, smaller packages.**\n\n[spdx-expression-parse][parse] and [spdx-satisfies][satisfies] are\ndirect successors to spdx.js.\n\nYou may also be interested in [spdx-compare][compare],\n[spdx-correct][correct], and [other packages on the npm public\nregistry][search]. [kemitchell][kemitchell] writes a lot of them.\n\n[compare]: https://www.npmjs.com/package/spdx-compare\n[correct]: https://www.npmjs.com/package/spdx-correct\n[kemitchell]: https://www.npmjs.com/~kemitchell\n[parse]: https://www.npmjs.com/package/spdx-expression-parse\n[satisfies]: https://www.npmjs.com/package/spdx-satisfies\n[search]: https://www.npmjs.com/search?q=spdx\n\n---\n\n```javascript\nvar spdx = require('spdx')\n```\n\n# Simple License Expressions\n\n```javascript\nvar assert = require('assert')\nassert(spdx.valid('Invalid-Identifier') === null)\nassert(spdx.valid('GPL-2.0'))\nassert(spdx.valid('GPL-2.0+'))\nassert(spdx.valid('LicenseRef-23'))\nassert(spdx.valid('LicenseRef-MIT-Style-1'))\nassert(spdx.valid('DocumentRef-spdx-tool-1.2:LicenseRef-MIT-Style-2'))\n```\n\n# Composite License Expressions\n\n## Disjunctive `OR` Operator\n```javascript\nassert(spdx.valid('(LGPL-2.1 OR MIT)'))\nassert(spdx.valid('(LGPL-2.1 OR MIT OR BSD-3-Clause)'))\n```\n\n## Conjunctive `AND` Operator\n```javascript\nassert(spdx.valid('(LGPL-2.1 AND MIT)'))\nassert(spdx.valid('(LGPL-2.1 AND MIT AND BSD-2-Clause)'))\n```\n\n## Exception `WITH` Operator\n\n```javascript\nassert(spdx.valid('(GPL-2.0+ WITH Bison-exception-2.2)'))\n```\n\n## Order of Precedence and Parentheses\n\n```javascript\nassert.deepEqual(\n  spdx.parse('(LGPL-2.1 OR BSD-3-Clause AND MIT)'),\n  { left: { license: 'LGPL-2.1' },\n    conjunction: 'or',\n    right: {\n      left: { license: 'BSD-3-Clause' },\n      conjunction: 'and',\n      right: { license: 'MIT' } } })\n\nassert.deepEqual(\n  spdx.parse('(MIT AND (LGPL-2.1+ AND BSD-3-Clause))'),\n  { left: { license: 'MIT' },\n    conjunction: 'and',\n    right: {\n      left: {\n        license: 'LGPL-2.1',\n        plus: true },\n      conjunction: 'and',\n      right: { license: 'BSD-3-Clause' } } })\n```\n\n# Strict Whitespace Rules\n\n```javascript\nassert(!spdx.valid('MIT '))\nassert(!spdx.valid(' MIT'))\nassert(!spdx.valid('MIT  AND  BSD-3-Clause'))\n```\n\n# Identifier Lists\n\n```javascript\nassert(Array.isArray(spdx.licenses))\nassert(spdx.licenses.indexOf('ISC') > -1)\nassert(spdx.licenses.indexOf('Apache-1.7') < 0)\nassert(spdx.licenses.every(function(element) {\n  return typeof element === 'string' }))\n\nassert(Array.isArray(spdx.exceptions))\nassert(spdx.exceptions.indexOf('GCC-exception-3.1') > -1)\nassert(spdx.exceptions.every(function(element) {\n  return typeof element === 'string' }))\n```\n\n# The Specification\n\n```javascript\nassert.equal(spdx.specificationVersion, '2.0')\n```\n\n[The Software Package Data Exchange (SPDX) specification](http://spdx.org) is the work of the [Linux Foundation](http://www.linuxfoundation.org) and its contributors, and is licensed 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.\n","_attachments":{},"homepage":"https://github.com/kemitchell/spdx.js","bugs":{"url":"https://github.com/kemitchell/spdx.js/issues"},"license":"MIT"}