reddit-score

    0.0.2 • Public • Published

    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);

    Install

    npm i reddit-score

    DownloadsWeekly Downloads

    67

    Version

    0.0.2

    License

    ISC

    Last publish

    Collaborators

    • avatar