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
- Host: GitHub
- URL: https://github.com/roppa/npm-dependencies
- Owner: roppa
- Created: 2016-11-17T16:26:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T16:26:32.000Z (over 9 years ago)
- Last Synced: 2025-02-14T18:36:29.095Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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) });
```