# tar-checksum

> Asynchronously generates deterministic checksums of .tar or .tar.gz files.

Latest version **1.0.4** (published 2018-11-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install tar-checksum
pnpm add tar-checksum
yarn add tar-checksum
bun add tar-checksum
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2018-11-30 |
| First published | 2018-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.4.0 |
| Dependencies | 2 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Steve Meyer |
| Maintainers | notoriaga |

## Links

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

## Dependencies (2)

- [tar-stream](https://npm.io/package/tar-stream.md) ^1.6.0
- [gunzip-maybe](https://npm.io/package/gunzip-maybe.md) ^1.4.1

## Recent versions

- 1.0.4 (latest) — 2018-11-30
- 1.0.3 — 2018-06-25
- 1.0.1 — 2018-05-10
- 1.0.0 — 2018-05-10

## README

# tar-checksum

Asynchronously generates deterministic checksums of .tar or .tar.gz files.

## Installing

Using npm:

```bash
$ npm install tar-checksum --save
```

## Usage

```javascript
const tarChecksum = require('tar-checksum');
```

### Callback

```javascript
tarChecksum(Buffer|ReadableStream, (err, file) => {

  // handle results

})
```

### Promise

```javascript
tarChecksum(Buffer|ReadableStream)
  .then(checksum => {  
    // handle results
  })
  .catch(err => { 
    // handle err
  })
```

### Async/await

```javascript
try {
  let checksum = await tarChecksum(Buffer|ReadableStream)
} catch (err) {
  // handle err
}
```

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