UNPKG
murmurhash2
Version:
latest (0.1.0)
0.1.0
MurmurHash2 implementation with support for Unicode
github.com/jtpio/murmurhash2
jtpio/murmurhash2
murmurhash2
/
lib
/
index.d.ts
10 lines
(9 loc)
•
259 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/** * Calculate the murmurhash2 for a given string and seed. * *
@param
str The string to calculate the Murmur2 hash for. *
@param
seed The seed. * *
@returns
The Murmurhash2 hash. */
export
declare
function
murmur2
(
str
:
string
,
seed
:
number
):
number
;