# cksum

> calculate checksum for file (after cksum.c)

Latest version **1.3.0** (published 2015-11-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install cksum
pnpm add cksum
yarn add cksum
bun add cksum
```

Provides the command `cksum`.

## 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.3.0 |
| Published | 2015-11-28 |
| First published | 2014-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Finn Pauls |
| Maintainers | finnpauls |
| Keywords | cksum, sum, checksum, crc, crc32, unix |

## Links

- npm: https://www.npmjs.com/package/cksum
- Repository: https://github.com/finnp/cksum
- Issues: https://github.com/finnp/cksum/issues
- npm.io page: https://npm.io/package/cksum

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.3.0 (latest) — 2015-11-28
- 1.2.0 — 2015-11-26
- 1.1.0 — 2015-11-25
- 1.0.0 — 2014-12-20

## README

# cksum
[![NPM](https://nodei.co/npm/cksum.png)](https://nodei.co/npm/cksum/)
[![Build Status](https://travis-ci.org/finnp/cksum.svg?branch=master)](https://travis-ci.org/finnp/cksum)
[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)

JavaScript implementation of [cksum](http://pubs.opengroup.org/onlinepubs/9699919799/utilities/cksum.html)

## usage

```js
var cksum = require('cksum')

cksum(new Buffer('testwhatever')) // returns buffer (big endian) with 32bit checksum
cksum('test') // converts 'test' to buffer and then calcuates the checksum


readStream.pipe(cksum.stream(function (sum, length) {
  console.log(sum.readUInt32BE(0), len)
}))
```

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