{"name":"spdx-license-list","version":"4.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":">=4"},"scripts":{"test":"xo && ava","make":"node make.js"},"files":["index.js","full.js","simple.js","spdx.json","spdx-full.json","spdx-simple.json","licenses"],"keywords":["spdx","license","licenses","mit","bsd","list","open source","software","id","ids","identifiers","set"],"devDependencies":{"ava":"*","got":"^8.0.3","hard-rejection":"^1.0.0","ora":"^1.1.0","p-map":"^1.1.1","xo":"*"},"gitHead":"aa20ed35d49617e337787e44c6004b88cb8cd88d","bugs":{"url":"https://github.com/sindresorhus/spdx-license-list/issues"},"homepage":"https://github.com/sindresorhus/spdx-license-list#readme","_id":"spdx-license-list@4.1.0","_npmVersion":"6.2.0","_nodeVersion":"8.11.3","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-nlyjgQUe1PgBGU0RdXIwo+N1VHI0XV/hxCBms8fhRDV7qottuPdX3gcTB4dpNnnQ/fIC3ymb/oWB6S8T6nQEnw==","shasum":"29cfa3248a45fdf314b9a82974c06fb3b9352b89","tarball":"http://registry-npm.ywwl.com/spdx-license-list/download/spdx-license-list-4.1.0.tgz","fileCount":343,"unpackedSize":9440405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUL6vCRA9TVsSAnZWagAA8AMQAJxlexN8ItTkM8BMnhvu\ngN6yrwg/lRcE4/c+ga3DBHuhhtm0h6QbWt4g4CVvxuuRPDnDU5aEv/S39rHl\nM5nAgQ5mje/FnIe9kSlPdUVbR+RWLj6MRfc1nfJIlFgVhGM2XUOhJKkEIY3S\nyDXAAHQxx91xfibV6Opweb+0T2UdYm1E8mNGbVAowkvEBpko+SdbyE9Vj2Cv\nPxCTTp2NSPDdKvqVZRg6ZYyAB3hyOdH/YM+Ru+9cuLi3OZhHB9sUxMKXDnKB\nmb0ymFQxprzlMt92ChyGKKGf91HSx1M6bhce1fnXMRNB5CkwtJLJQTJpm1lB\nsoYTki41oSjBMSNLjmXBtI4+q7+uLOYaz7UAeyWiZkKpCLpIyJS7PdtthDvE\nhzZZu5HHqBBrd4d0Hz9idlutzmIN8QLih2dORe9oBQD6zXqKMoL+vsNXujsQ\nUuldok2pS9EMbcprh5BcO6pZnPy78Mw++9hCu+e8tTn3pg8dYnXnwn5JbQu1\npDSDG3FafjHCh6oWW90HwaYZjrsdK6CDro9RbJs4jQX+8s6KK6dOsEAIvJkL\nH2u7FETvj5kY/WDs6AkF837dOMLyOE6c5p09SVDHEC3c7UwDwGF1n/KcLOkL\nR2AZWHVXRoOGv4qh7oUmOyMRH0vyE54ySCbZt3eM1iKsP62EJReH08kl2IpB\n8iRR\r\n=MMVs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuoqb3vvyj+j97jIKORkxPs0SYJ7VKOaxBwYrcRPcABgIgZ4yJyKdA7UlH5PjeCYJvnVYrObwiClnX57s6Gyv2/xM="}],"size":1337609,"noattachment":false,"key":"/spdx-license-list/-/spdx-license-list-4.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-license-list_4.1.0_1532018351454_0.921204243673736"},"_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":1532018351625,"_cnpm_publish_time":1532018351625,"dist-tags":{"latest":"6.12.0"}}