Comparing version
{ | ||
"name": "crc32c", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "CRC32C c implementation for Linux.", | ||
@@ -5,0 +5,0 @@ "keywords": ["crc", "crc32", "crc32c", "hash" ], |
@@ -19,7 +19,7 @@ Node-crc32c | ||
```javascript | ||
var crc32c = require('crc32-c'); | ||
var crc32c = require('crc32c'); | ||
var toHash = "HELLOWORLD"; | ||
console.log(crc32c.compute(toHash).toString(16)); | ||
console.log(crc32c.compute(toHash)); | ||
``` | ||
@@ -26,0 +26,0 @@ |
@@ -1,5 +0,5 @@ | ||
var crc32c = require('./build/Release/crc32c'); | ||
var crc32c = require('../bin/crc32c'); | ||
console.log(crc32c.compute('hello').toString(16)); | ||
console.log(crc32c.compute('hello')); | ||
console.log(crc32c.compute('{"jsonString":"property1","jsonArray":["arr1","arr2","arr3"]}').toString(16)); | ||
console.log(crc32c.compute('{"jsonString":"property1","jsonArray":["arr1","arr2","arr3"]}')); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5690
4.48%