What is spdx-exceptions?
The spdx-exceptions npm package provides a list of exceptions to the SPDX license list. These exceptions are additional permissions that can be applied to a license, which are not included in the standard license text. The package is useful for software that needs to validate or parse license identifiers in compliance with the SPDX specification.
List of SPDX license exceptions
This feature allows you to retrieve an array of all SPDX license exceptions. The code sample shows how to import the spdx-exceptions package and log the list of exceptions to the console.
const spdxExceptions = require('spdx-exceptions');
console.log(spdxExceptions);