depdiff

0.1.2 • Public • Published

depdiff

Build Status Coverage Status

I kept running into a problem where stuff I commited did not work on a build machine or someone else's computer, and quite often the problem turned out to be that my npm dependencies had changed.

To repair the issue, I made this small tool that allows you to keep track of those changes to immediately see what might have caused the issues.

Installation

To install the CLI:

$ npm install -g depdiff

Usage

The CLI features two commands, list-dependencies and list-changes. list-dependencies lists your dependencies as JSON, going through your bower.json and package.json files. list-changes takes a file of this JSON format and compares it to the current situation, showing a diff similar to what you might be used to in your version control.

To save the current state to a file:

$ depdiff list-dependencies > current-deps.json

To compare current state to an older state:

$ depdiff list-changes old-deps.json

Readme

Keywords

none

Package Sidebar

Install

npm i depdiff

Weekly Downloads

1

Version

0.1.2

License

ISC

Last publish

Collaborators

  • jussi-kalliokoski