streak

streak is a library for calculating win/loss streaks. It uses Redis as its backend for collecting the data.

npm install streak
2 downloads in the last month
npm loves you