aboutsummaryrefslogtreecommitdiff
path: root/node_modules/spdx-license-ids/README.md
blob: 92523532b2460949da337dd7d42b020487a3e1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# spdx-license-ids

A list of [SPDX license](https://spdx.org/licenses/) identifiers

[**Download JSON**](https://raw.githubusercontent.com/shinnn/spdx-license-ids/master/spdx-license-ids.json)

## Use as a JavaScript Library

[![NPM version](https://img.shields.io/npm/v/spdx-license-ids.svg)](https://www.npmjs.org/package/spdx-license-ids)
[![Bower version](https://img.shields.io/bower/v/spdx-license-ids.svg)](https://github.com/shinnn/spdx-license-ids/releases)
[![Build Status](https://travis-ci.org/shinnn/spdx-license-ids.svg?branch=master)](https://travis-ci.org/shinnn/spdx-license-ids)
[![Coverage Status](https://img.shields.io/coveralls/shinnn/spdx-license-ids.svg)](https://coveralls.io/r/shinnn/spdx-license-ids)
[![devDependency Status](https://david-dm.org/shinnn/spdx-license-ids/dev-status.svg)](https://david-dm.org/shinnn/spdx-license-ids#info=devDependencies)

### Installation

#### Package managers

##### [npm](https://www.npmjs.com/)

```sh
npm install spdx-license-ids
```

##### [bower](http://bower.io/)

```sh
bower install spdx-license-ids
```

##### [Duo](http://duojs.org/)

```javascript
const spdxLicenseIds = require('shinnn/spdx-license-ids');
```

#### Standalone

[Download the script file directly.](https://raw.githubusercontent.com/shinnn/spdx-license-ids/master/spdx-license-ids-browser.js)

### API

#### spdxLicenseIds

Type: `Array` of `String`

It returns an array of SPDX license identifiers.

```javascript
const spdxLicenseIds = require('spdx-license-ids'); //=> ['Glide', 'Abstyles', 'AFL-1.1', ... ]
```

## License

[The Unlicense](./LICENSE).