Comparing version 2.3.0 to 2.4.0
{ | ||
"name": "metrohash", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"description": "Node.js bindings for MetroHash hashing library", | ||
@@ -16,10 +16,10 @@ "scripts": { | ||
"dependencies": { | ||
"bindings": "^1.2.1", | ||
"nan": "^2.5.0", | ||
"node-gyp": "^3.4.0" | ||
"bindings": "^1.3.0", | ||
"nan": "^2.10.0", | ||
"node-gyp": "^3.6.2" | ||
}, | ||
"devDependencies": { | ||
"chai": "^3.5.0", | ||
"mocha": "^2.5.3" | ||
"mocha": "^5.1.1" | ||
} | ||
} |
# node-metrohash | ||
Wrapper around [MetroHash](https://github.com/jandrewrogers/MetroHash). | ||
[![Build Status](https://travis-ci.org/robertklep/node-metrohash.svg)](https://travis-ci.org/robertklep/node-metrohash) | ||
@@ -33,2 +33,4 @@ | ||
The class constructors and functions accept an optional `seed` numerical argument, which defaults to `0`. | ||
#### Class interface | ||
@@ -40,6 +42,6 @@ | ||
// Constructor. | ||
MetroHash64([ seed:Number = 0 ]) : Object | ||
MetroHash64(seed? : number) : this | ||
// Update. | ||
MetroHash64#update(input : [String | Buffer]) : Object | ||
MetroHash64#update(input : String | Buffer) : this | ||
@@ -57,3 +59,3 @@ // Finalize and get hash digest. | ||
metrohash64(input : [String | Buffer], [ seed:Number = 0 ]) : String | ||
metrohash64(input : String | Buffer, seed? : number) : String | ||
``` | ||
@@ -60,0 +62,0 @@ |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66675
90
Updatedbindings@^1.3.0
Updatednan@^2.10.0
Updatednode-gyp@^3.6.2