mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 22:17:25 -04:00
1.6 KiB
Executable File
1.6 KiB
Executable File
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', ... ]