# rollup-plugin-checksum

> Rollup plugin that emits a file containing the checksum of all emitted chunks and assets.

Latest version **1.0.1** (published 2021-03-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install rollup-plugin-checksum
pnpm add rollup-plugin-checksum
yarn add rollup-plugin-checksum
bun add rollup-plugin-checksum
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-03-27 |
| First published | 2021-03-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andi Pätzold |
| Maintainers | andipaetzold |

## Links

- npm: https://www.npmjs.com/package/rollup-plugin-checksum
- Repository: https://github.com/andipaetzold/rollup-plugin-checksum
- Homepage: https://github.com/andipaetzold/rollup-plugin-checksum#readme
- Issues: https://github.com/andipaetzold/rollup-plugin-checksum/issues
- npm.io page: https://npm.io/package/rollup-plugin-checksum

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) >=12

## Recent versions

- 1.0.1 (latest) — 2021-03-27
- 1.0.0 — 2021-03-27

## README

# rollup-plugin-checksum

Rollup plugin that emits a file containing the checksum of all emitted chunks and assets.

## Installation

```
npm install rollup-plugin-checksum --save-dev
```

or

```
yarn add rollup-plugin-checksum --dev
```

## Usage

The plugin must be added as last plugin.

```javascript
// rollup.config.js
import checksum from 'rollup-plugin-checksum';

export default {
	input: './index.js',
	plugins: [
		// other plugins
		checksum(/* options */)
	]
}
```

## Options

* `filename`: `"filename"`

  Name of the emitted file that contains the checksum

* `includeAssets`: `true`

  Whether or not to include assets when calculating the checksum

---
_Source: https://npm.io/package/rollup-plugin-checksum · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
