mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-14 04:06:07 +09:00
remove node_modules
This commit is contained in:
-52
@@ -1,52 +0,0 @@
|
||||
# spdx-license-ids
|
||||
|
||||
[](https://www.npmjs.com/package/spdx-license-ids)
|
||||
[](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/results/shinnn/spdx-license-ids)
|
||||
|
||||
A list of [SPDX license](https://spdx.org/licenses/) identifiers
|
||||
|
||||
## Installation
|
||||
|
||||
[Download JSON directly](https://raw.githubusercontent.com/shinnn/spdx-license-ids/master/index.json), or [use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/about-npm/):
|
||||
|
||||
```
|
||||
npm install spdx-license-ids
|
||||
```
|
||||
|
||||
## [Node.js](https://nodejs.org/) API
|
||||
|
||||
### require('spdx-license-ids')
|
||||
|
||||
Type: `string[]`
|
||||
|
||||
All license IDs except for the currently deprecated ones.
|
||||
|
||||
```javascript
|
||||
const ids = 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'); //=> true
|
||||
ids.includes('CC-BY-1.0'); //=> true
|
||||
|
||||
ids.includes('GPL-3.0'); //=> false
|
||||
```
|
||||
|
||||
### require('spdx-license-ids/deprecated')
|
||||
|
||||
Type: `string[]`
|
||||
|
||||
Deprecated license IDs.
|
||||
|
||||
```javascript
|
||||
const deprecatedIds = 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'); //=> false
|
||||
deprecatedIds.includes('CC-BY-1.0'); //=> false
|
||||
|
||||
deprecatedIds.includes('GPL-3.0'); //=> true
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
[Creative Commons Zero v1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/deed)
|
||||
-76
@@ -1,76 +0,0 @@
|
||||
{
|
||||
"_from": "spdx-license-ids@^3.0.0",
|
||||
"_id": "spdx-license-ids@3.0.7",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==",
|
||||
"_location": "/spdx-license-ids",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "spdx-license-ids@^3.0.0",
|
||||
"name": "spdx-license-ids",
|
||||
"escapedName": "spdx-license-ids",
|
||||
"rawSpec": "^3.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^3.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/spdx-correct",
|
||||
"/spdx-expression-parse"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz",
|
||||
"_shasum": "e9c18a410e5ed7e12442a549fbd8afa767038d65",
|
||||
"_spec": "spdx-license-ids@^3.0.0",
|
||||
"_where": "/home/michael/projects/javascript-exercises/node_modules/spdx-correct",
|
||||
"author": {
|
||||
"name": "Shinnosuke Watanabe",
|
||||
"url": "https://github.com/shinnn"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jslicense/spdx-license-ids/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"deprecated": false,
|
||||
"description": "A list of SPDX license identifiers",
|
||||
"devDependencies": {
|
||||
"@shinnn/eslint-config": "^6.8.7",
|
||||
"chalk": "^2.4.1",
|
||||
"eslint": "^5.10.0",
|
||||
"get-spdx-license-ids": "^2.1.0",
|
||||
"rmfr": "^2.0.0",
|
||||
"tape": "^4.9.1"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "@shinnn"
|
||||
},
|
||||
"files": [
|
||||
"deprecated.json",
|
||||
"index.json"
|
||||
],
|
||||
"homepage": "https://github.com/jslicense/spdx-license-ids#readme",
|
||||
"keywords": [
|
||||
"spdx",
|
||||
"license",
|
||||
"licenses",
|
||||
"id",
|
||||
"identifier",
|
||||
"identifiers",
|
||||
"json",
|
||||
"array",
|
||||
"oss"
|
||||
],
|
||||
"license": "CC0-1.0",
|
||||
"name": "spdx-license-ids",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jslicense/spdx-license-ids.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "node build.js",
|
||||
"latest": "node latest.js",
|
||||
"pretest": "eslint .",
|
||||
"test": "node test.js"
|
||||
},
|
||||
"version": "3.0.7"
|
||||
}
|
||||
Reference in New Issue
Block a user