UNPKG

vnhr

Version:

virtual node hash ring

25 lines (17 loc) 1.15 kB
# vnhr [![NPM version](https://badge.fury.io/js/vnhr.png)](http://badge.fury.io/js/vnhr) [![Build Status](https://secure.travis-ci.org/kordon/vnhr.png)](http://travis-ci.org/kordon/vnhr) [![Dependency Status](https://gemnasium.com/kordon/vnhr.png)](https://gemnasium.com/kordon/vnhr) [![Coverage Status](https://coveralls.io/repos/kordon/vnhr/badge.png?branch=master)](https://coveralls.io/r/kordon/vnhr?branch=master) [![Code Climate](https://codeclimate.com/github/kordon/vnhr.png)](https://codeclimate.com/github/kordon/vnhr) Consistent hashing using virtual nodes. ## install ```bash npm install [--save/--save-dev] vnhr ``` ## api ## license * Original [mixu/vnodehash](https://github.com/mixu/vnodehash) code is under the [BSD license](license/mixu) * Updates from [kordon/vnhr](https://github.com/kordon/vnhr) are under the [MIT license](license/kordon) * Some code/tests/api inspired by [yunong/node-fash](https://github.com/yunong/node-fash) is under the [MIT license](license/yunong) * Some code/tests/api inspired by [3rd-Eden/node-hashring](https://github.com/3rd-Eden/node-hashring) is under the [MIT license](license/3rd-Eden)