Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bukinoshita/anderson

Checks your node dependencies for contraband licenses
https://github.com/bukinoshita/anderson

anderson checker contraband javascript license nodejs

Last synced: 16 days ago
JSON representation

Checks your node dependencies for contraband licenses

Awesome Lists containing this project

README

        

# anderson [![Build Status](https://travis-ci.org/bukinoshita/anderson.svg?branch=master)](https://travis-ci.org/bukinoshita/anderson)

> Checks your node dependencies for contraband licenses

## Install

```
$ npm install --save anderson
```

## Usage
```js
const anderson = require('anderson')

await anderson()

/*
[{
name: 'chalk',
version: '^2.0.1',
contraband: false,
license: 'MIT'
},
{
name: 'log-symbols',
version: '^1.0.2',
contraband: false,
license: 'MIT'
},
{
name: 'meow',
version: '^3.7.0',
contraband: false,
license: 'MIT'
}]
*/
```

_You need to add a `.anderson.yml` file in your project, check example [here](https://github.com/bukinoshita/anderson/blob/master/.anderson.yml)._

_anderson is heavily inspired on [anderson](https://github.com/contraband/anderson)._

## API

### anderson()

returns a `promise`

## Related

- [anderson-cli](https://github.com/bukinoshita/anderson-cli) — CLI of this module

## License

MIT © [Bu Kinoshita](https://bukinoshita.io)