Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Verious CRC for node.js and browser

tree: 7b9146db2d

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 tests
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 README.md
Octocat-spinner-32 package.json
README.md

CRC for node.js

This is a basic port/copy of the JavaScript CRC implementation. The module is compatible with Node.js and Require.js.

This is an almost direct copy from http://www.digsys.se/JavaScript/CRC.aspx

Functions

The following functions are exported:

crc8(String)    #=> Number
crcArc(String)  #=> Number
crc16(String)   #=> Number
fcs16(String)   #=> Number
crc32(String)   #=> Number
hex8(Number)    #=> String
hex16(Number)   #=> String
hex32(Number)   #=> String

Installation

npm install crc
Something went wrong with that request. Please try again.