Comparing version
{ | ||
"name": "fast-crc32", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Convenience methods to use sse4_crc32 module", | ||
@@ -32,8 +32,8 @@ "main": "index.js", | ||
"chai-as-promised": "^5.2.0", | ||
"eslint": "^1.10.3", | ||
"mocha": "^2.3.4" | ||
"eslint": "^2.2.0", | ||
"mocha": "^2.4.2" | ||
}, | ||
"dependencies": { | ||
"sse4_crc32": "^4.1.1" | ||
"sse4_crc32": "^5.0.0" | ||
} | ||
} |
@@ -1,6 +0,6 @@ | ||
# fast-crc32 []() []() | ||
# fast-crc32 [](https://travis-ci.org/v12/fast-crc32) [](https://www.npmjs.com/package/fast-crc32) [](https://david-dm.org/v12/fast-crc32) | ||
## Installation | ||
```console | ||
npm install fast-crc32 --save | ||
```sh | ||
npm install fast-crc32 --save | ||
``` | ||
@@ -10,9 +10,9 @@ | ||
```javascript | ||
const crc32 = require('fast-crc32'), | ||
http = require('http'); | ||
http.get('http://example.com', | ||
response => crc32.calculateFromStream(response) | ||
.then(checksum => console.log('CRC32C: ' + checksum.toString(16))) | ||
.catch(error => console.error('Unable to calculate CRC32C', error))); | ||
const crc32 = require('fast-crc32'), | ||
http = require('http'); | ||
http.get('http://example.com', | ||
response => crc32.calculateFromStream(response) | ||
.then(checksum => console.log('CRC32C: ' + checksum.toString(16))) | ||
.catch(error => console.error('Unable to calculate CRC32C', error))); | ||
``` |
Sorry, the diff of this file is not supported yet
27638
307.76%21
133.33%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
Updated