An open API service indexing awesome lists of open source software.

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

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