New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

diffchecker

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diffchecker

Command line tool for Diffchecker.

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
1
Created
Source

Diffchecker for the Terminal

Dependecy check

Now you can create cloud-hosted diffs right from the command line. Easily compare 2 files, or compare a current file with the version of itself from the most recent commit.

Why use this instead of a native app? Because your diffs are instantly uploaded so you can share them with others.

Installation

First, make sure you have Node with npm installed from nodejs.org

Then:

npm install -g diffchecker

Usage

To compare two files:

diffchecker file1.js file2.js

To compare a file with it's version from the most recent git commit:

diffchecker file1.js

Both methods will open the diff in your default browser.

By default, the diff will expire in 1 hour. You can change it to 1 day, 1 month or forever like this:

diffchecker --expires day file1.js file2.js

Should you want to sign out:

diffchecker --signout

Keywords

diff

FAQs

Package last updated on 20 Mar 2026

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