mirror of
https://github.com/thangisme/notes.git
synced 2024-09-07 05:54:16 -04:00
.. | ||
LICENSE | ||
package.json | ||
README.md | ||
spdx-license-ids.json |
spdx-license-ids
A list of SPDX license identifiers
Use as a JavaScript Library
Installation
Package managers
npm
npm install spdx-license-ids
bower
bower install spdx-license-ids
Duo
const spdxLicenseIds = require('shinnn/spdx-license-ids');
Standalone
Download the script file directly.
API
spdxLicenseIds
Type: Array
of String
It returns an array of SPDX license identifiers.
const spdxLicenseIds = require('spdx-license-ids'); //=> ['Glide', 'Abstyles', 'AFL-1.1', ... ]