{"name":"spdx-license-ids","version":"3.0.21","description":"A list of SPDX license identifiers","repository":{"type":"git","url":"git+https://github.com/jslicense/spdx-license-ids.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"license":"CC0-1.0","scripts":{"build":"node build.js","latest":"node latest.js","pretest":"npm run build","test":"node test.js"},"keywords":["spdx","license","licenses","id","identifier","identifiers","json","array","oss"],"_id":"spdx-license-ids@3.0.21","gitHead":"71517588f455ab135a0952578c5ab4032cb8abae","bugs":{"url":"https://github.com/jslicense/spdx-license-ids/issues"},"homepage":"https://github.com/jslicense/spdx-license-ids#readme","_nodeVersion":"22.13.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==","shasum":"6d6e980c9df2b6fc905343a3b2d702a6239536c3","tarball":"http://registry-npm.ywwl.com/spdx-license-ids/download/spdx-license-ids-3.0.21.tgz","fileCount":4,"unpackedSize":12891,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5gCt6Rxiy8XQdOAdXaDSozsyM5PdI5Y+KnlZmPYvdKAIgdsEDXdZHVV/KcVGd/XQB4/bOm0R25WwiC+XXsvGJeMI="}],"size":4619,"noattachment":false,"key":"/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz"},"_npmUser":{"name":"kemitchell","email":"kyle@kemitchell.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/spdx-license-ids_3.0.21_1736909348123_0.22992323470952214"},"_hasShrinkwrap":false,"readme":"# spdx-license-ids\n\n[![npm version](https://img.shields.io/npm/v/spdx-license-ids.svg)](https://www.npmjs.com/package/spdx-license-ids)\n\nA list of [SPDX license](https://spdx.org/licenses/) identifiers\n\n## Installation\n\n[Download JSON directly](https://raw.githubusercontent.com/jslicense/spdx-license-ids/main/index.json), or [use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/):\n\n```\nnpm install spdx-license-ids\n```\n\n## [Node.js](https://nodejs.org/) API\n\n### require('spdx-license-ids')\n\nType: `string[]`\n\nAll license IDs except for the currently deprecated ones.\n\n```javascript\nconst ids = require('spdx-license-ids');\n//=> ['0BSD', 'AAL', 'ADSL', 'AFL-1.1', 'AFL-1.2', 'AFL-2.0', 'AFL-2.1', 'AFL-3.0', 'AGPL-1.0-only', ...]\n\nids.includes('BSD-3-Clause'); //=> true\nids.includes('CC-BY-1.0'); //=> true\n\nids.includes('GPL-3.0'); //=> false\n```\n\n### require('spdx-license-ids/deprecated')\n\nType: `string[]`\n\nDeprecated license IDs.\n\n```javascript\nconst deprecatedIds = require('spdx-license-ids/deprecated');\n//=> ['AGPL-1.0', 'AGPL-3.0', 'GFDL-1.1', 'GFDL-1.2', 'GFDL-1.3', 'GPL-1.0', 'GPL-2.0', ...]\n\ndeprecatedIds.includes('BSD-3-Clause'); //=> false\ndeprecatedIds.includes('CC-BY-1.0'); //=> false\n\ndeprecatedIds.includes('GPL-3.0'); //=> true\n```\n\n## License\n\n[Creative Commons Zero v1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/deed)\n","publish_time":1736909348304,"maintainers":[{"name":"kemitchell","email":"kyle@kemitchell.com"},{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_cnpm_publish_time":1736909348304,"dist-tags":{"latest":"3.0.24","next":"3.0.0-1"}}