GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DanielVenturini/npm-diff: Diff two versions - range versions too - of a node module

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

46 Commits
46 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
History.md
History.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
npm-diff
npm-diff
 
 

Repository files navigation

npm-diff(2)

Diff two versions of a node module.

screenshot

Installation

$ 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.

Also works for range versions, where the last version accepted by the range will be used:

$ npm-diff intersect 0 1.0.1 | less

screenshot

Tips

Page big diffs:

$ npm-diff intersect 0.0.0 0.1.0 | less

Pipe to colordiff for colored git like diffs:

$ npm-diff intersect 0.0.0 0.1.0 | colordiff | less -R

If you don't have colordiff, and want to use it (on the Linux, use sudo; in the Mac, don't use):

$ make colordiff

License

MIT

About

Diff two versions - range versions too - of a node module

Topics

diffnpmpackagesrange

Resources

Readme
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.