# hashing-stream
`hashing-stream` is a simple pass thru stream which hashes incoming data.

## Installation

    npm install hashing-stream

## Usage
```js
fs.createReadStream('fillerama.txt')
  .pipe(new HashingStream('sha1'))
  .on('end', function (hash) {
    hash.digest('hex'); // => '65f3bd7e5bed93ebef9fb5338d9b9a19deb5c2d5'
  });
```

# hashing-stream [![Build Status](https://secure.travis-ci.org/mmalecki/hashing-stream.png)](http://travis-ci.org/mmalecki/hashing-stream)
`hashing-stream` is a simple pass thru stream which hashes incoming data.

## Installation

    npm install hashing-stream

## Usage
```js
fs.createReadStream('fillerama.txt')
  .pipe(new HashingStream('sha1'))
  .on('end', function (hash) {
    hash.digest('hex'); // => '65f3bd7e5bed93ebef9fb5338d9b9a19deb5c2d5'
  });
```

Add Travis CI build status image
[doc] Add Travis CI build status image
