https://github.com/cezaraugusto/nodejs-opensourceapi
Node API Bindings to the OSI License API.
https://github.com/cezaraugusto/nodejs-opensourceapi
licenses node nodejs npm npm-package opensource
Last synced: 2 months ago
JSON representation
Node API Bindings to the OSI License API.
- Host: GitHub
- URL: https://github.com/cezaraugusto/nodejs-opensourceapi
- Owner: cezaraugusto
- License: mit
- Created: 2016-05-30T04:00:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-29T09:08:08.000Z (over 7 years ago)
- Last Synced: 2025-03-29T16:03:51.062Z (2 months ago)
- Topics: licenses, node, nodejs, npm, npm-package, opensource
- Language: JavaScript
- Homepage:
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# nodejs-opensourceapi
[![npm version][npmimg]][npm]
[![Build Status][travisimg]][travis]
[![Downloads][downloadsimg]][downloads]
[![licenses cool][licensescool]][licensescoollink]`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
```js
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][opensourceorg].**
## License
MIT © [Cezar Augusto](http://cezaraugusto.net)
[npmimg]: https://img.shields.io/npm/v/nodejs-opensourceapi.svg
[npm]: https://www.npmjs.org/package/nodejs-opensourceapi
[travisimg]: https://api.travis-ci.org/cezaraugusto/nodejs-opensourceapi.svg
[travis]: https://travis-ci.org/cezaraugusto/nodejs-opensourceapi
[downloadsimg]: https://img.shields.io/npm/dt/nodejs-opensourceapi.svg
[downloads]: https://nodei.co/npm/nodejs-opensourceapi
[licensescool]: https://img.shields.io/badge/licenses-cool-green.svg
[licensescoollink]: https://opensource.org/
[opensourceorg]: https://github.com/OpenSourceOrg/api/blob/master/doc/endpoints.md