Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/yiminghe/deps-optimizer
- Owner: yiminghe
- Created: 2014-03-31T10:44:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-31T13:42:10.000Z (over 10 years ago)
- Last Synced: 2024-04-15T04:24:45.131Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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']
}
```