Pure JavaScript implement for CityHash. (No C++ binding)
$ npm install --save google-cityhash
const hash = require('google-cityhash');
const ret = hash.city32('text');
Returns a hash number.
const ret = hash.city64('text');
Returns a Long object.
const ret = hash.city128('text');
Returns a City128Value object.
You're welcome to make pull requests.
「雖然我覺得不怎麼可能有人會關注我」