Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/you21979/node-hashpjw

hashpjw implement for native javascript
https://github.com/you21979/node-hashpjw

Last synced: 3 days ago
JSON representation

hashpjw implement for native javascript

Awesome Lists containing this project

README

        

# node-hashpjw

[![NPM](https://nodei.co/npm/hashpjw.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/hashpjw)
[![Build Status](https://secure.travis-ci.org/you21979/node-hashpjw.png?branch=master)](https://travis-ci.org/you21979/node-hashpjw)
[![Coverage Status](https://coveralls.io/repos/github/you21979/node-hashpjw/badge.svg?branch=master)](https://coveralls.io/github/you21979/node-hashpjw?branch=master)

## install

```
npm i hashpjw
```

## simple

```
var hashpjw = require('hashpjw');
console.log(hashpjw("test") % 1000);
```

## usage

```
var hashpjw = require('hashpjw');
var TBLMAX = 5;
var list = new Array(TBLMAX);
for(var i = 0; i