# Install pdf-visual-diff with npm

Visual Regression Testing for PDFs in JavaScript. Version 0.15.2 via npm; verified 2025-12-18.

## Install

```sh
sudo av install npm:pdf-visual-diff
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g pdf-visual-diff
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:pdf-visual-diff
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/pdf-visual-diff>
- **Version:** 0.15.2
- **Source summary:** Visual Regression Testing for PDFs in JavaScript
- **Homepage:** <https://github.com/moshensky/pdf-visual-diff#readme>
- **Repository:** <https://github.com/moshensky/pdf-visual-diff>
- **Upstream docs:** <https://github.com/moshensky/pdf-visual-diff#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/pdf-visual-diff/-/pdf-visual-diff-0.15.2.tgz>
- **Issue tracker:** <https://github.com/moshensky/pdf-visual-diff/issues>
- **Published:** 2025-12-18T11:13:41.807Z
- **Last updated:** 2025-12-18T11:13:41.807Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- pdf-visual-diff (cli)
- pdf-visual-diff (alias)

## Dependencies

- @napi-rs/canvas
- glob
- jimp
- pdfjs-dist
- yargs

## Build dependencies

- @eslint/js
- @types/glob
- @types/node
- @types/yargs
- eslint
- eslint-plugin-tsdoc
- jest
- prettier
- ts-node
- typedoc
- typescript
- typescript-eslint

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.15.2
- Package-manager updated: 2025-12-18
- Local data: ok
- Upstream repository: https://github.com/moshensky/pdf-visual-diff
- notice: The package-manager record has not changed recently.
- info: No cached GitHub release or tag data was available.

## Security Notes

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


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Latest: 0.15.2
- **Version Count:** 23
- **Maintainers:** moshensky
- **Author:** Nikita Moshensky
- **Publisher:** moshensky
- **Integrity:** sha512-1tA5LuWXw58O9aLXkdpSD9aRnlZAg9uiXeNUo2RFAwm/+oou4bHnGanlhEmnV9jigOfwodDW5lPC8aVFIB7m2Q==
- **Shasum:** 348ad605ca8416626a8347491ab15031441b3ea8
- **Unpacked Size:** 152,027
- **File Count:** 0
- **Created At:** 2020-04-17T13:30:50.315Z
- **Latest Published At:** 2025-12-18T11:13:41.807Z
- **Modified At:** 2025-12-18T11:13:41.984Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [pdf-text-extract](https://www.automicvault.com/pkg/npm/pdf-text-extract/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, document, document-processing, pdf.
- [pdf-merger-js](https://www.automicvault.com/pkg/npm/pdf-merger-js/) - Both packages work with overlapping file formats or content types. Shared terms: cli, data, document, document-processing, pdf.
- [pdf2json](https://www.automicvault.com/pkg/npm/pdf2json/) - Both packages touch the same language runtime or ecosystem. Shared terms: canvas, cli, data, document, document-processing.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
