Socket
Socket
Sign inDemoInstall

npm-diff

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-diff

Diff two versions of a node module


Version published
Weekly downloads
500
decreased by-16.39%
Maintainers
1
Weekly downloads
 
Created
Source

npm-diff(1)

Diff two versions of a node module.

screenshot

Installation

Either preinstall using one of the methods described below, or use npx to install/run npm-diff on demand:

npx npm-diff

Globally installed as npm module

npm install npm-diff -g

Manual install

Clone this repository and run:

$ make install

Usage

$ npm-diff
Usage: npm-diff <module> <versionA> <versionB>

npm-diff(1) outputs regular diff(1) content so it plays nice with other tooling.

Tips

Page big diffs:

$ npm-diff intersect 0.0.0 0.1.0 | less

If colordiff is installed, the output will be colored.

Sponsors

This module is proudly supported by my Sponsors!

Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my Patreon. Not sure how much of my modules you're using? Try feross/thanks!

License

MIT

Keywords

FAQs

Package last updated on 10 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc