/ piacw.com / dev / final / node_modules / spdx-correct /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[   ]LICENSE2 years ago 11K0fb859dc fixed mobile overflwo options [كارل مبارك]
[TXT]README.md2 years ago355 0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]index.js2 years ago9.4K0fb859dc fixed mobile overflwo options [كارل مبارك]
[   ]package.json2 years ago2.2K0fb859dc fixed mobile overflwo options [كارل مبارك]
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)

// disable upgrade option
assert(correct('GPL-3.0'), 'GPL-3.0-or-later')
assert(correct('GPL-3.0', { upgrade: false }), 'GPL-3.0')
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80