{"analyzedAt":"2022-06-26T22:41:24.637Z","collected":{"metadata":{"name":"spdx-license-list","scope":"unscoped","version":"6.6.0","description":"List of SPDX licenses","keywords":["spdx","license","licenses","mit","bsd","list","open source","software","id","ids","identifiers","set"],"date":"2022-06-09T18:19:49.621Z","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com","username":"sindresorhus"},"publisher":{"username":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"username":"sindresorhus","email":"sindresorhus@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/spdx-license-list.git"},"links":{"npm":"https://www.npmjs.com/package/spdx-license-list","homepage":"https://github.com/sindresorhus/spdx-license-list#readme","repository":"https://github.com/sindresorhus/spdx-license-list","bugs":"https://github.com/sindresorhus/spdx-license-list/issues"},"license":"CC0-1.0","devDependencies":{"ava":"^1.4.1","got":"^9.6.0","hard-rejection":"^2.0.0","ora":"^3.2.0","p-map":"^2.0.0","tsd":"^0.13.1","xo":"^0.24.0"},"releases":[{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":1},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":2},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":2},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":2},{"from":"2020-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":4}],"hasTestScript":true,"hasSelectiveFiles":true,"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.17 (2022-05-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)."},"npm":{"downloads":[{"from":"2022-06-25T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":7848},{"from":"2022-06-19T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":104594},{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":496683},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":1541073},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":3064390},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":4573369}],"starsCount":1},"github":{"starsCount":80,"forksCount":19,"subscribersCount":9,"issues":{"count":21,"openCount":0,"distribution":{"3600":2,"10800":0,"32400":3,"97200":4,"291600":3,"874800":0,"2624400":2,"7873200":1,"23619600":0,"70858800":6,"212576400":0},"isDisabled":false},"contributors":[{"username":"koppor","commitsCount":1},{"username":"larsgw","commitsCount":1},{"username":"ddgenome","commitsCount":1},{"username":"sschuberth","commitsCount":1},{"username":"sindresorhus","commitsCount":46},{"username":"Richienb","commitsCount":1},{"username":"danielhusar","commitsCount":2},{"username":"mlinksva","commitsCount":1},{"username":"TiagoDanin","commitsCount":1}],"commits":[{"from":"2022-06-19T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":0},{"from":"2022-05-27T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":2},{"from":"2022-03-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":5},{"from":"2021-12-28T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":5},{"from":"2021-06-26T00:00:00.000Z","to":"2022-06-26T00:00:00.000Z","count":5}]},"source":{"files":{"readmeSize":1587,"testsSize":351},"linters":["editorconfig","xo"]}},"evaluation":{"quality":{"carefulness":0.9199999999999999,"tests":0.5265,"health":1,"branding":0},"popularity":{"communityInterest":118,"downloadsCount":513691,"downloadsAcceleration":2130.233181126332,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":1,"issuesDistribution":0.9}},"score":{"final":0.6871370642457992,"detail":{"quality":0.8252561683377504,"popularity":0.25593639641399013,"maintenance":0.9999499285702218}}}