Skip to content

cezaraugusto/nodejs-opensourceapi

Repository files navigation

Open Source Initiative

nodejs-opensourceapi

npm version Build Status Downloads licenses cool

nodejs-opensourceapi is an API Wrapper that allows you to query the Open Source License API with NodeJS


Installing (requires Node >= v0.10)

$ npm install --save nodejs-opensourceapi

Example

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.

License

MIT © Cezar Augusto

Sponsor this project

 

Packages

No packages published