cksum

1.3.0 • Public • Published

cksum

NPM Build Status js-standard-style

JavaScript implementation of cksum

usage

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)
}))

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.3.0
    71
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.3.0
    71
  • 1.2.0
    0
  • 1.1.0
    0
  • 1.0.0
    1

Package Sidebar

Install

npm i cksum

Weekly Downloads

72

Version

1.3.0

License

MIT

Last publish

Collaborators

  • finnpauls