trending-algorithm

1.0.7 • Public • Published

Trending Algorithm

Algorithm for finding trending values ​​for an Array of videos

Input

Array of video Info: Each video must contains views, comments, votes and uploadTime

Output

Array of video Info + trendingValue on each video object

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i trending-algorithm

      Weekly Downloads

      7

      Version

      1.0.7

      License

      ISC

      Unpacked Size

      7.72 kB

      Total Files

      7

      Last publish

      Collaborators

      • hanzhaneefa