https://github.com/zeusdeux/diffc
Colored diff output as seen in git-diff
https://github.com/zeusdeux/diffc
Last synced: 3 months ago
JSON representation
Colored diff output as seen in git-diff
- Host: GitHub
- URL: https://github.com/zeusdeux/diffc
- Owner: zeusdeux
- License: mit
- Created: 2015-07-05T10:33:11.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-05T11:26:17.000Z (almost 10 years ago)
- Last Synced: 2025-03-27T14:56:40.931Z (3 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/diffc
- Size: 129 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# diffc
Colored diff output as seen in git-diff# Installation
`npm i -g diffc`Also, make sure that you have `diff` installed since `diffc` uses that internally.
# Usage
`diffc `> Note:
> If using with `less` or a pager, you need to pass the `--color=always` option to `diffc`
> Example: `diffc ~/.emacs ~/backup-location/.emacs --color=always | less -r`