Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 45acafa15e
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.538 kb

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
Jump to Line
Something went wrong with that request. Please try again.