@k0michi/hash
v1.0.0
Published
A library to generate hash code values like Java.
Downloads
1
Readme
@k0michi/hash
A library to generate hash code values like Java.
Example
import hash from "@k0michi/hash";
let hashCode = hash("Hello world");
hashCode = hash(true);
hashCode = hash(1234567890);
hashCode = hash(0xFFFFFFFFFFFFFFFFn);
hashCode = hash(["a", "b", "c"]);
hashCode = hash({
name: "value"
});
Installation
yarn add @k0michi/hash
License
MIT License