0.0.1 • Published 9 years ago

hache v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

Background

I wanted a library that I could use to name things with MD5 hash strings. It would ask for the same hash a lot and it needed to be fast.

Usage

var Hache = require('hache');
var hache = new Hache('md5');

var hash = hache.encode('randomString'); //generates
var hashFromCache = hache.encode('randomString'); //serves from memory

Assumptions

You only want strings