# Install ansi-diff-stream with npm

A transform stream that diffs input buffers and outputs the diff as ANSI. If you pipe this to a terminal it will update the output with minimal changes. Version 1.2.1 via npm; verified 2018-03-23.

## Install

```sh
sudo av install npm:ansi-diff-stream
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g ansi-diff-stream
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:ansi-diff-stream
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/ansi-diff-stream>
- **Version:** 1.2.1
- **Source summary:** A transform stream that diffs input buffers and outputs the diff as ANSI. If you pipe this to a terminal it will update the output with minimal changes.
- **Homepage:** <https://github.com/mafintosh/ansi-diff-stream>
- **Repository:** <https://github.com/mafintosh/ansi-diff-stream>
- **Upstream docs:** <https://github.com/mafintosh/ansi-diff-stream>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/ansi-diff-stream/-/ansi-diff-stream-1.2.1.tgz>
- **Issue tracker:** <https://github.com/mafintosh/ansi-diff-stream/issues>
- **Published:** 2018-03-23T02:32:30.388Z
- **Last updated:** 2018-03-23T02:32:30.388Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- ansi-diff-stream (cli)
- ansi-diff-stream (alias)

## Dependencies

- ansi-regex
- buffer-from
- through2

## Build dependencies

- standard

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.2.1
- Package-manager updated: 2018-03-23
- Local data: ok
- Upstream repository: https://github.com/mafintosh/ansi-diff-stream
- warning: The package-manager record has not been updated in over a year.
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for ansi-diff-stream. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.2.1
- **Version Count:** 5
- **Maintainers:** mafintosh
- **Author:** Mathias Buus
- **Publisher:** mafintosh
- **Integrity:** sha512-PaKs34INoKpTzcjyKd2GM/CCEeTyDgWKuHSgF0z7ywjpbBFj/pzQf/30v+TR6VBBLia6Mso+W2ygU22ljqbi6A==
- **Shasum:** e75f98dc43c6ba3d63af481e693e89fd4262ac58
- **Unpacked Size:** 7,784
- **File Count:** 0
- **Created At:** 2016-07-14T17:59:59.344Z
- **Latest Published At:** 2018-03-23T02:32:30.388Z
- **Modified At:** 2022-06-13T03:05:19.713Z


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched curated package taxonomy and local package facts.
- [bzip2-maybe](https://pkg.so/npm/bzip2-maybe/) - Local package facts share a topical domain. Shared terms: if, input, it, stream, that.
- [gunzip-maybe](https://pkg.so/npm/gunzip-maybe/) - Local package facts share a topical domain. Shared terms: if, input, it, stream, that.
- [ansi-html](https://pkg.so/npm/ansi-html/) - Package names and metadata indicate a similar tool family. Shared terms: ansi, terminal, that.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
