{"name":"spdx-license-list","version":"5.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":">=6"},"scripts":{"test":"xo && ava","make":"node make.js"},"keywords":["spdx","license","licenses","mit","bsd","list","open source","software","id","ids","identifiers","set"],"devDependencies":{"ava":"^0.25.0","got":"^9.3.1","hard-rejection":"^1.0.0","ora":"^3.0.0","p-map":"^2.0.0","xo":"^0.23.0"},"gitHead":"0b891db873929e4147fd4aa6b8e0effb9e2facd0","bugs":{"url":"https://github.com/sindresorhus/spdx-license-list/issues"},"homepage":"https://github.com/sindresorhus/spdx-license-list#readme","_id":"spdx-license-list@5.0.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-N5u9tEFRBUzQDjMKRRt8SHxC/UaqYApPmdF4MMFnICQg3z52onNbnneuro/sWw2rd+eGu9agQOzUbD671Xia7Q==","shasum":"d100186631ec16774094632c22a7a693c39df903","tarball":"http://registry-npm.ywwl.com/spdx-license-list/download/spdx-license-list-5.0.0.tgz","fileCount":390,"unpackedSize":7092247,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5AtWCRA9TVsSAnZWagAA8dEP/jLO1bT9hdX2YAsqrgvI\ngTdfX3YZc9rRmZfTWp+LHWJDaQA2BnNdhY3L4gOdIW2/DwojRz67stxWbPhR\nD6T57ZUqlAb4l/cwU8prnnbfKFmppGLA1SpY69IfXC/qgC6S/ae8eIPnJTSa\njkaC4h9yiT4svkLN/mvyLbK105HUUQkSwz4l/IOzmuBaGx4oueLwoOlanw0N\n+5FvVYVFBO8CZR9RbiQoZfN6u0l885oJ6vdikajuFvl7H8MVOBqfvCaFV7xL\nW+d1Ug5c00NJ7MxAGbSVyz+O4cD/jMwkGWR1loo9Gpi8/TLvWsQhhANQIeJ3\n2UUctqjRqf/awTfKuVubASvKHSxrRocU+pnNGRAQdXw4vtsyxEAtz+W/bfFs\nhfLoLp8ihIGgAwZ+yTU3y4K7z2P7v1Ds2DaRPIakCN2lZQrqjJw2rFdXP78i\n9hdyXjNvt4QC5CVJNRWvPkYWPcG2pvYsxLphjrrS4OjiiWaqlRmS7spDaqlf\nQ8GqHr3Bre2dN7iZn9U/crI9BuEA/Xhb5eV4Y126EP2Wk5HVvJDSVqgAHR5C\nbMNo5hAnSJNL0098AJd2DyUUr6FlCtMKqGFMs9mX/cpnlV04SieHI/C/Br9C\njdVoGI7O/S2PyzpQoA5827bXd06qgXxg5KIlz6uDvxBCpu4PqwDvdSy/PU82\n9Hh0\r\n=M89m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjOmT7vDgL3HUa/OQM4KwpWT8nkBgw1hSkEyMba85SAQIhAPdckRrse5B5MC3r4qa8eFyEnmYTG+rmpa4iqjfuVNlf"}],"size":1253511,"noattachment":false,"key":"/spdx-license-list/-/spdx-license-list-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/spdx-license-list_5.0.0_1541671766073_0.9822018781451534"},"_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":1541671766263,"_cnpm_publish_time":1541671766263,"dist-tags":{"latest":"6.12.0"}}