{"name":"spdx-license-list","version":"6.0.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":"8000525e7e759716b18764c5b870a62cc672799f","bugs":{"url":"https://github.com/sindresorhus/spdx-license-list/issues"},"homepage":"https://github.com/sindresorhus/spdx-license-list#readme","_id":"spdx-license-list@6.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-TIwgF7P7bE3MLnE5Oh1zgMNu6W0An1ASf8uoe3P3ZA3sVf4nJ9m9XDzudKYrmWVZ4TR0i/7tWfaH2AWPtc46Ag==","shasum":"1c86d4a083de8d3942f70c0424793a5976941282","tarball":"http://registry-npm.ywwl.com/spdx-license-list/download/spdx-license-list-6.0.0.tgz","fileCount":391,"unpackedSize":7112699,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcm63KCRA9TVsSAnZWagAAeNUP/0qwrBavoPMjqyR1Nss3\n9Y0w6jk2tI/cuofyyoeWUDbrEIL/Bvuouh66mWvqAEI+u5V0kABtUBHJphab\nXlH1lTwEMgU6fe/WIg2qwk1wcwUyko8iezePteqYTH37ONAUkrWnYY5m1br7\njInMarXs1tsclrY3t1x7/XM02q1l81BbeHdm5dryUtBxdkuzrI/ngT+js1sx\njshtksGhFsYkorp1CEfO314R7XvD7fHa4u4hpMjfE9+dAzFDhen9dv5uMbnl\nOxxy0yfEUs94CCJCOicyXITXgOcpvy0aogcF3rZAeSsuhMk5FNI1b9dAkpVo\nGzz4FHaEHIgo12O8wewHf5tuQdARB4MVZDzXkmTr1y/iXTutgdiWmQbpT906\n7O9XivCW5x8RZym1kRz5Sjpsp4gHypuajQNpwjgzb7zvu5grtNTeqHsvtzQu\n5LF9gdAKH9nKVh4Q8QZKfiyklOrXTmwi2CPGQdupl2LaXjnQHQI8i91bnkxv\nCGwJQjN4q7+jPBy66H5lCD82KY3tpiQBlstQbmrJwdi/HlLNOTzbw47MFrvI\n5rByENG8c7TebRUUTJ1AOUA46WS2/vhZMLi8aB3TSkm8VonktoWFBlW3/JJz\nK/gbfyF/ic7q8GV+I8TxmYLTg8N5E+7tO3f7TsMLr2Fjb0P2OGBXf70+rpAR\nCbUE\r\n=3fbz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH0usOQ8FMgaX3KpR/dO0sUNFScSA7FursXuIYSPiMNkAiEA1vPiMvSZRLP/UusbIVckGTt5oNcF/hX4ykdobr4jdmM="}],"size":1241712,"noattachment":false,"key":"/spdx-license-list/-/spdx-license-list-6.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-license-list_6.0.0_1553706439898_0.237116874833883"},"_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":1553706441126,"_cnpm_publish_time":1553706441126,"dist-tags":{"latest":"6.12.0"}}