Bachir Soussi Chiadmi 0611418f7a added whole system from ola4doc 6 years ago
..
LICENSE 0611418f7a added whole system from ola4doc 6 years ago
README.md 0611418f7a added whole system from ola4doc 6 years ago
index.js 0611418f7a added whole system from ola4doc 6 years ago
package.json 0611418f7a added whole system from ola4doc 6 years ago

README.md

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)