UNPKG
zater-verhoeff
Version:
latest (2.1.1)
2.1.1
2.1.0
2.0.0
1.0.0
Module for create account zater
bitbucket.org/patercapital/zater-verhoeff
zater-verhoeff
/
dist
/
node_modules
/
spdx-correct
/
README.md
11 lines
(7 loc)
•
223 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
```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
) ```