Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

diff2html-cli

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diff2html-cli

Fast Diff to colorized HTML

  • 0.2.0-1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20K
decreased by-13.68%
Maintainers
1
Weekly downloads
 
Created
Source

Diff to Html Node Module (CLI) by rtfpessoa

Diff to Html generates pretty HTML diffs.

Inspiration

This project is just a CLI for diff2html-nodejs.

Features

  • line-by-line and side-by-side diff

  • new and old line numbers

  • inserted and removed lines

  • GitHub like style

Online Example

Go to Diff2HTML

Other Distributions

Setup

sudo npm install -g diff2html-cli

Usage

Usage: diff2html [git-diff options]

Options:

    -h, --help           output usage information
    -V, --version        output the version number
    -i, --input [file]   Diff input file.
    -o, --output [file]  Output to file path. Defaults to stdout.
    -p, --preview        Open preview in the browser.
    -l, --line           Line by Line diff.
    -s, --side           Side by Side diff.
    -j, --json           Export diff in json format.

Contribution

All contributions are welcome.

To contribute just send a pull request with your feature,fix,... and it will be reviewed asap.

License

Copyright 2014 Rodrigo Fernandes. Released under the terms of the MIT license.


Keywords

FAQs

Package last updated on 12 Apr 2015

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