https://github.com/metrico/node-cityhash-go
NodeJS Native GO binding CityHash32/64/128
https://github.com/metrico/node-cityhash-go
Last synced: 2 months ago
JSON representation
NodeJS Native GO binding CityHash32/64/128
- Host: GitHub
- URL: https://github.com/metrico/node-cityhash-go
- Owner: metrico
- License: apache-2.0
- Created: 2021-12-28T20:47:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-28T21:54:05.000Z (almost 4 years ago)
- Last Synced: 2025-05-19T23:08:27.092Z (5 months ago)
- Language: Makefile
- Size: 633 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-cityhash
> NodeJS native GO node binding providing CityHash64/128
### Build Module
```console
make
```### Install
```
npm install -g node-cityhash-go
```
#### Usage
```
const hash = require('node-cityhash-go');
const str = "hello"const hash64 = hash.cityhash64(str);
const hash128 = hash.cityhash128(str);
```#### Todo
- [x] go binding
- [x] function mapping