1.0.0 • Published 10 years ago
spdx-license-id-set v1.0.0
spdx-license-id-set
A set of SPDX license identifiers
Installation
npm
npm install spdx-license-id-setbower
bower install spdx-license-id-setAPI
spdxLicenseIdSet
It exposes a Set instance that includes all the SPDX license identifiers.
const spdxLicenseIdSet = require('spdx-license-id-set');
spdxLicenseIdSet.has('MIT'); //=> true
spdxLicenseIdSet.has('zlib-acknowledgement'); //=> true
spdxLicenseIdSet.has('foo-bar-baz'); //=> falseLicense
1.0.0
10 years ago