1.6 KiB
1.6 KiB
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', ... ]