sass configured
This commit is contained in:
1 parent
c2e31ea175
commit
6a78380644
3424 files changed
+360558
-146
No files matched your search
+22
@@ -0,0 +1,22 @@
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
var correct = require('spdx-correct')
|
||||
var assert = require('assert')
|
||||
|
||||
assert.strictEqual(correct('mit'), 'MIT')
|
||||
|
||||
assert.strictEqual(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')
|
||||
```
|
||||
|
||||
## 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