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