# crc-native

> libcrc JavaScript bindings for Node.js

Latest version **1.1.8** (published 2025-08-21) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install crc-native
pnpm add crc-native
yarn add crc-native
bun add crc-native
```

## Health

**Score 35/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

Negative: stale.

## Facts

| | |
|---|---|
| Version | 1.1.8 |
| Published | 2025-08-21 |
| First published | 2022-08-09 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Holepunch |
| Maintainers | mafintosh, kasperisager |

## Links

- npm: https://www.npmjs.com/package/crc-native
- Repository: https://github.com/holepunchto/crc-native
- Homepage: https://github.com/holepunchto/crc-native#readme
- Issues: https://github.com/holepunchto/crc-native/issues
- npm.io page: https://npm.io/package/crc-native

## Dependencies (1)

- [require-addon](https://npm.io/package/require-addon.md) ^1.1.0

## Recent versions

- 1.1.8 (latest) — 2025-08-21
- 1.1.7 — 2025-02-20
- 1.1.6 — 2025-02-11
- 1.1.5 — 2024-11-13
- 1.1.4 — 2024-10-22
- 1.1.3 — 2024-10-01
- 1.1.2 — 2024-10-01
- 1.1.1 — 2024-09-13
- 1.1.0 — 2024-09-12
- 1.0.11 — 2024-02-16
- 1.0.10 — 2024-02-09
- 1.0.9 — 2024-02-07
- 1.0.8 — 2024-01-10
- 1.0.7 — 2023-06-12
- 1.0.6 — 2023-05-16
- … 6 more at https://npm.io/package/crc-native/versions

## README

# crc-native

https://github.com/holepunchto/libcrc JavaScript bindings for Node.js.

```sh
npm install crc-native
```

## Usage

```js
const { crc32 } = require('crc-native')

const crc = crc32(Buffer.from('hello world'))
// 0xd4a1185
```

## API

#### `const crc = crc32(buffer)`

Compute the CRC32 of the given buffer.

## License

Apache-2.0

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