Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/trustmaster/npmdiff

NPM package list diff tool
https://github.com/trustmaster/npmdiff

Last synced: 23 days ago
JSON representation

NPM package list diff tool

Awesome Lists containing this project

README

        

# NPM Dependencies diff tool

This tool takes 2 files containing output of `npm list` or `npm install` or similar results (e.g. Travis CI build logs) and calculates changes to the NPM packages and versions from first file to second.

More specific use case:

- A build is broken on Travis because of unknown dependency change
- Copy output of `npm install` from the last successful build to `file1`
- Copy output of `npm install` from the broken build to `file2`
- Use this tool to diff the package lists

## Usage

```
coffee npmdiff.coffee
```

## Requirements

- CoffeeScript, Node.js