nodejs-opensourceapi
is an API Wrapper that allows you to query the Open Source License API with NodeJS
$ npm install --save nodejs-opensourceapi
var licenses = require('nodejs-opensourceapi')
// List all licenses
licenses.all((result) => {
// ...something cool
})
// Find all licenses with keyword "copyleft"
licenses.tagged('copyleft', (result) => {
// ...something cool
})
// Get the GPL-3.0 license
licenses.get('GPL-3.0', (result) => {
// ...something cool
})
For more usage information please refer here.
MIT © Cezar Augusto