charcodehash
v1.0.1
Published
Hashes a string into a number using a simple and lightweight algorithm
Readme
charcodehash
Hashes a string into a number using a simple and lightweight algorithm.
The algorithm is based on String.prototype.charCodeAt.
Installation
npm install charcodehashUsage
import { charcodehash } from "charcodehash";
const hash = charcodehash("hello");