Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md « spdx-correct « node_modules - github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4169e61e193448357e529e323718cf6b3b196d6b (plain)
1
2
3
4
5
6
7
8
9
10
```javascript
var correct = require('spdx-correct')
var assert = require('assert')

assert.equal(correct('mit'), 'MIT')

assert.equal(correct('Apache 2'), 'Apache-2.0')

assert(correct('No idea what license') === null)
```