schnee effeckt und fehler Korektur
This commit is contained in:
12
node_modules/spdx-correct/README.md
generated
vendored
12
node_modules/spdx-correct/README.md
generated
vendored
@@ -1,10 +1,12 @@
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
var correct = require('spdx-correct')
|
||||
var assert = require('assert')
|
||||
|
||||
assert.equal(correct('mit'), 'MIT')
|
||||
assert.strictEqual(correct('mit'), 'MIT')
|
||||
|
||||
assert.equal(correct('Apache 2'), 'Apache-2.0')
|
||||
assert.strictEqual(correct('Apache 2'), 'Apache-2.0')
|
||||
|
||||
assert(correct('No idea what license') === null)
|
||||
|
||||
@@ -12,3 +14,9 @@ assert(correct('No idea what license') === null)
|
||||
assert(correct('GPL-3.0'), 'GPL-3.0-or-later')
|
||||
assert(correct('GPL-3.0', { upgrade: false }), 'GPL-3.0')
|
||||
```
|
||||
|
||||
## Contributors
|
||||
|
||||
spdx-correct has benefited from the work of several contributors.
|
||||
See [the GitHub repository](https://github.com/jslicense/spdx-correct.js/graphs/contributors)
|
||||
for more information.
|
||||
|
||||
Reference in New Issue
Block a user