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)
Name |
Last Commit
f0f442f4
–
카톡 로그인 기능 백엔드로 바꿈
|
History
|
Last Update |
---|---|---|
.. | ||
LICENSE | Loading commit data... | |
README.md | Loading commit data... | |
index.js | Loading commit data... | |
package.json | Loading commit data... |
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)