# Install source-map-diff with npm

Compare source maps to understand why a bundle changed in size. Version 2.0.0 via npm; verified 2025-06-09.

## Install

```sh
sudo av install npm:source-map-diff
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g source-map-diff
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:source-map-diff
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/source-map-diff>
- **Version:** 2.0.0
- **Source summary:** Compare source maps to understand why a bundle changed in size.
- **Homepage:** <https://github.com/dylang/source-map-diff#readme>
- **Repository:** <https://github.com/dylang/source-map-diff>
- **Upstream docs:** <https://github.com/dylang/source-map-diff#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/source-map-diff/-/source-map-diff-2.0.0.tgz>
- **Issue tracker:** <https://github.com/dylang/source-map-diff/issues>
- **Published:** 2025-06-09T20:15:10.676Z
- **Last updated:** 2025-06-09T20:15:10.676Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- source-map-diff (cli)
- source-map-diff (alias)

## Dependencies

- chalk
- common-path-prefix
- got
- load-json-file
- text-treeview
- webtreemap
- yargs-parser

## Build dependencies

- @biomejs/biome
- @types/yargs-parser
- @vitest/coverage-v8
- ts-node
- typescript
- vitest

## Install behavior

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

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 2.0.0
- Package-manager updated: 2025-06-09
- Local data: ok
- Upstream repository: https://github.com/dylang/source-map-diff
- 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 source-map-diff. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 2.0.0, Pr: 2.0.0-pr310.1
- **Version Count:** 28
- **Maintainers:** dylang
- **Author:** Dylan Greene
- **Publisher:** dylang
- **Integrity:** sha512-8YquPl2ffso/rpad/kKvtRWKjEGfGy4OB9FeMePExeGGCyCxlANM80gzO0uXfpgptj9GhkAkOwvpLO8gsYcW/A==
- **Shasum:** de8a72f3b1845e3b2d4b5c94d9c4f8f224c3d2b5
- **Unpacked Size:** 102,501
- **File Count:** 0
- **Created At:** 2021-02-08T01:33:58.208Z
- **Latest Published At:** 2025-06-09T20:15:10.676Z
- **Modified At:** 2025-12-08T08:52:02.200Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [source-map-explorer](https://pkg.so/npm/source-map-explorer/) - Package names and metadata indicate a similar tool family. Shared terms: chalk, map, maps, size, source.
- [avo](https://pkg.so/npm/avo/) - Both packages work with overlapping file formats or content types. Shared terms: chalk, file, got, json, load.
- [cypress-cloud](https://pkg.so/npm/cypress-cloud/) - Local package facts share a topical domain. Shared terms: chalk, common, common-path-prefix, map, path.

## Sources

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