{"name":"spdx-license-list","version":"6.1.0","description":"List of SPDX licenses","license":"CC0-1.0","repository":{"type":"git","url":"git+https://github.com/sindresorhus/spdx-license-list.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava","make":"node make.js"},"keywords":["spdx","license","licenses","mit","bsd","list","open source","software","id","ids","identifiers","set"],"devDependencies":{"ava":"^1.4.1","got":"^9.6.0","hard-rejection":"^2.0.0","ora":"^3.2.0","p-map":"^2.0.0","xo":"^0.24.0"},"gitHead":"8462e2edfeff71ae7bc8a9ca4eecfed13bc46623","bugs":{"url":"https://github.com/sindresorhus/spdx-license-list/issues"},"homepage":"https://github.com/sindresorhus/spdx-license-list#readme","_id":"spdx-license-list@6.1.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-xiaE3KtBiylVmZrlux8tHR28HZgZ921HTXbx2fEZaDloRjbBOro79LeKttcQJ5MSDYFKG7in9v2GTAEhcR9/Qg==","shasum":"a79cf9fb0222db69dfef067f61c52f0eb3ad36bb","tarball":"http://registry-npm.ywwl.com/spdx-license-list/download/spdx-license-list-6.1.0.tgz","fileCount":405,"unpackedSize":7312034,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSrExCRA9TVsSAnZWagAAE/wQAIHnS0ocgxwqeL8hEQe1\nidb6OPGspu05Rr0RbuPGNvW6/OuQdjo27+LCd568uBCEKh8GJndGZJS5ghIE\nkKoVf5dXJp9nxDt0OLPlVFUSZpLqmGVKfjZxLYqeMMsGYs/t84LKXB3Ki2bc\nfU8V5hBft/lt9jfuDyCtKTQBz44exMW0ApaX69eQTXDRjBrACSNLGy4WTG1W\nbCadc+QCiqdwJkt7X0zAdI1RiulX1YF6WkIeraZER/GYAy8fsTuJXXdK9kLi\nOboJhP6HTBpHkc/3l3Poi91JAxAySHNwAoE9anMMEgCS2oqdIf/X9iDaSR0s\nHkvthXrR/1/EKbMPToZy7iAGcH9T4d/+sncMd5zKL+JxO3fgzWJNpK5/LHsk\nfMlZn/RStgk42HczO/fdW7smfH30q19580keEraWTQWMizJBSESITK7YvXl1\ndWfz2+t0HpLdT8xlLGPk5qJW+36CpeJNN6TZy5Ai32qn697NDenErdEaFiSy\nxJ2zPUs81cNr8wIr9VhLbEi3MkQaVKsnYY22OUMgLL2Y+hd1B15BIx/5GmYH\nSBzSwokC4cFs6csK+keomJVOQI8VvFJ9SOo5bIHYc2ag6J5zlUEiP6MOhiM8\nYkWO3ehvTzt5xNWKIFA8E/1X/O4aR+sdgB4w1lrPHviNsJ2L1L6bDY+yWfLp\nGV8J\r\n=s+Nc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzRk6p9J0LbBkp3L6O8SDANuUj4/vf0wjcjvLY0lC2ggIgcEcWdGmI9mU/uGh4H/Gto2wPbnoM2Vrs7oqaIda0ITY="}],"size":1296761,"noattachment":false,"key":"/spdx-license-list/-/spdx-license-list-6.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-license-list_6.1.0_1565176112679_0.4933444527479556"},"_hasShrinkwrap":false,"readme":"# spdx-license-list\n\n> List of [SPDX licenses](https://spdx.org/licenses/)\n\nThe lists of licenses are just JSON files and can be used anywhere.\n\n- [spdx.json](spdx.json) contains just license metadata\n- [spdx-full.json](spdx-full.json) includes the license text too\n- [spdx-simple.json](spdx-simple.json) only contains the license IDs\n\n*Using SPDX License List version 3.23 (2024-02-08)*\n\n## Install\n\n```sh\nnpm install spdx-license-list\n```\n\n## Usage\n\n```js\nconst spdxLicenseList = require('spdx-license-list');\n\nconsole.log(spdxLicenseList.MIT);\n/*\n{\n\tname: 'MIT License',\n\turl: 'http://www.opensource.org/licenses/MIT',\n\tosiApproved: true\n}\n*/\n```\n\n```js\nconst mitLicense = require('spdx-license-list/licenses/MIT');\n\nconsole.log(mitLicense.licenseText);\n//=> 'MIT License\\r\\n\\r\\nCopyright (c) <year> <copyright holders> …'\n```\n\nYou can also get a version with the licence text included:\n\n```js\nconst spdxLicenseList = require('spdx-license-list/full');\n\nconsole.log(spdxLicenseList.MIT);\n/*\n{\n\tname: 'MIT License',\n\turl: 'http://www.opensource.org/licenses/MIT',\n\tosiApproved: true,\n\tlicenseText: '…'\n}\n*/\n```\n\nOr just the license IDs as a `Set`:\n\n```js\nconst spdxLicenseList = require('spdx-license-list/simple');\n\nconsole.log(spdxLicenseList);\n//=> Set {'Glide', 'Abstyles', …}\n```\n\n## API\n\n### spdxLicenseList\n\nType: `object`\n\nThe licenses are indexed by their identifier and contains a `name` property with the full name of the license, `url` with the URL to the license, and `osiApproved` boolean for whether the license is [OSI Approved](https://opensource.org/licenses).\n","publish_time":1565176112928,"_cnpm_publish_time":1565176112928,"dist-tags":{"latest":"6.12.0"}}