Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

a list of SPDX license identifiers

NotificationsYou must be signed in to change notification settings

jslicense/spdx-license-ids

Repository files navigation

npm version

A list ofSPDX license identifiers

Installation

Download JSON directly, orusenpm:

npm install spdx-license-ids

require('spdx-license-ids')

Type:string[]

All license IDs except for the currently deprecated ones.

constids=require('spdx-license-ids');//=> ['0BSD', 'AAL', 'ADSL', 'AFL-1.1', 'AFL-1.2', 'AFL-2.0', 'AFL-2.1', 'AFL-3.0', 'AGPL-1.0-only', ...]ids.includes('BSD-3-Clause');//=> trueids.includes('CC-BY-1.0');//=> trueids.includes('GPL-3.0');//=> false

require('spdx-license-ids/deprecated')

Type:string[]

Deprecated license IDs.

constdeprecatedIds=require('spdx-license-ids/deprecated');//=> ['AGPL-1.0', 'AGPL-3.0', 'GFDL-1.1', 'GFDL-1.2', 'GFDL-1.3', 'GPL-1.0', 'GPL-2.0', ...]deprecatedIds.includes('BSD-3-Clause');//=> falsedeprecatedIds.includes('CC-BY-1.0');//=> falsedeprecatedIds.includes('GPL-3.0');//=> true

License

Creative Commons Zero v1.0 Universal


[8]ページ先頭

©2009-2025 Movatter.jp