mirror of
https://github.com/thangisme/notes.git
synced 2024-11-20 02:46:00 -05: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', ... ]