Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

crc32c-stream

1.0.0 • Public • Published

crc32c-stream Build Status

Get the crc32c calculation from a stream.

$ npm install --save crc32c-stream
var crcStream = require('crc32c-stream');
var fs = require('fs');
 
crcStream(fs.createReadStream('/unicorns.txt'), function(err, results) {
  if (!err) {
    // results => rw==
  }
});

API

crc32cStream(stream, callback)

input

Required Type: string

Lorem ipsum.

callback(err, results)

Required Type: Function

err

Type: Error

An error emitted from the provided stream.

results

Type: String

The base64 encoded results of the calculation.

install

npm i crc32c-stream

Downloadsweekly downloads

1

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability