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

https://github.com/roppa/npm-dependencies

Get a list of your apps module dependencies
https://github.com/roppa/npm-dependencies

Last synced: about 1 year ago
JSON representation

Get a list of your apps module dependencies

Awesome Lists containing this project

README

          

# Dependencies

Generate a list of your apps' dependecies.

First things first, to get a list of modules used in your app run:

```
npm ls --json > packages.json
```

Run like:

```
> node
> fs.readFile('./packages.json', (error, data) => { data = JSON.parse(data); require('.')('./downloads', data) });
```