redis backed analytics for node
Probabilistic counters for node.js, backed by redis.
Note: not ready for production use.
Currently the only structure implemented is a linear counter. It hashes and maps input values to an internal linear identifier via
var bitcrunch = require'bitcrunch';var won = bitcrunch'won';var lost = bitcrunch'lost';// firstname.lastname@example.orgemail@example.comfirstname.lastname@example.org';// email@example.comfirstname.lastname@example.org';// won AND lostwonandlostcountconsole.log'%s won and lost' total;;// won OR lostwonorlostcountconsole.log'%s won or lost' total;;
var bitcrunch = require'bitcrunch';var likes = bitcrunch'likes'add'js'add'lua'add'redis';likesincludes'js'console.log'result = %s' result;;