@broofa/fnv1a
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@broofa/fnv1a", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A robust, tiny, string hash implementation for JS, based on FNV-1a", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
# @broofa/fnv1a | ||
Lite, performant, robust FNV-1a (32-bit) for string hashing | ||
Drop-in replacment for the fnv1a module, with support for unicode and incremental hashing. | ||
Similar to [the fnv1a module](https://github.com/sindresorhus/fnv1a), | ||
but with the following improvements: | ||
See [fnv1a module](https://github.com/sindresorhus/fnv1a) for details | ||
* Handles unicode strings properly and efficiently | ||
* API for creating a digest that can be incrementally updated | ||
## Installation | ||
@@ -17,3 +13,3 @@ | ||
## Example: One-time hashes | ||
## Example: One-time hash | ||
@@ -26,3 +22,3 @@ ```javascript | ||
## Example: Incremental hashes | ||
## Example: Incremental hash | ||
@@ -29,0 +25,0 @@ ```javascript |
5509
39