0.0.2 • Published 8 years ago
reddit-score v0.0.2
Reddit hot ranking algorithm
Implemented in JavaScript
import RedditScore from 'reddit-score';
const reddit = new RedditScore;
const ups = 320;
const downs = 51;
const createdAt = new Date(2015, 5, 5);
const score = reddit.hot(ups, downs, createdAt);