Socket
Socket
Sign inDemoInstall

spdx-license-ids

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    spdx-license-ids

A list of SPDX license identifiers


Version published
Weekly downloads
22M
decreased by-17.18%
Maintainers
1
Install size
13.3 kB
Created
Weekly downloads
 

Package description

What is spdx-license-ids?

The spdx-license-ids package provides a list of SPDX license identifiers. SPDX (Software Package Data Exchange) is a standard format for communicating the licensing information of software packages. This package is useful for validating license identifiers, checking if a license ID is deprecated, and listing all valid SPDX license IDs.

What are spdx-license-ids's main functionalities?

List of all SPDX license IDs

This feature provides an array of all non-deprecated SPDX license identifiers. You can use this list to validate or display available licenses.

const spdxLicenseIds = require('spdx-license-ids');
console.log(spdxLicenseIds);

List of deprecated SPDX license IDs

This feature provides an array of deprecated SPDX license identifiers. It is useful for checking if a license ID is no longer valid according to the SPDX specification.

const spdxLicenseIdsDeprecated = require('spdx-license-ids/deprecated');
console.log(spdxLicenseIdsDeprecated);

Other packages similar to spdx-license-ids

Readme

Source

spdx-license-ids

A list of SPDX license identifiers

Download JSON

Use as a JavaScript Library

NPM version Bower version Build Status Coverage Status

Installation

npm
npm install spdx-license-ids
bower
bower install spdx-license-ids

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

License

Creative Commons Zero v1.0 Universal.

Keywords

FAQs

Last updated on 06 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc