projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial commit
[yaffs-website]
/
node_modules
/
spdx-correct
/
README.md
1
```javascript
2
var correct = require('spdx-correct');
3
var assert = require('assert');
4
5
assert.equal(correct('mit'), 'MIT')
6
7
assert.equal(correct('Apache 2'), 'Apache-2.0')
8
9
assert(correct('No idea what license') === null)
10
```