Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/yiminghe/deps-optimizer

optimize dependency map
https://github.com/yiminghe/deps-optimizer

Last synced: 9 days ago
JSON representation

optimize dependency map

Awesome Lists containing this project

README

        

# deps-optimizer

optimize dependency object

## examples

### input:

``` javascript
var input = {
a:['b','c'],
b:['e'],
e:['c']
};
console.log(require('deps-optimizer').optimize(input));
```

### output

``` javascript
{
a:['b'],
b:['e'],
e:['c']
}
```