# crc32c-stream **Repository Path**: mirrors_stephenplusplus/crc32c-stream ## Basic Information - **Project Name**: crc32c-stream - **Description**: Get the crc32c calculation from a stream - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-08-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # crc32c-stream [![Build Status](https://travis-ci.org/stephenplusplus/crc32c-stream.svg?branch=master)](https://travis-ci.org/stephenplusplus/crc32c-stream) > Get the crc32c calculation from a stream. ```sh $ npm install --save crc32c-stream ``` ```js 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.