{"id":30180966,"url":"https://github.com/streamich/content-ranking","last_synced_at":"2025-08-12T08:06:39.194Z","repository":{"id":34642214,"uuid":"181546192","full_name":"streamich/content-ranking","owner":"streamich","description":"Formulas for content ranking","archived":false,"fork":false,"pushed_at":"2023-12-15T05:23:14.000Z","size":2403,"stargazers_count":11,"open_issues_count":20,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T03:37:46.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/streamich.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-04-15T18:43:58.000Z","updated_at":"2022-06-09T02:59:48.000Z","dependencies_parsed_at":"2024-02-05T10:16:26.578Z","dependency_job_id":null,"html_url":"https://github.com/streamich/content-ranking","commit_stats":{"total_commits":12,"total_committers":4,"mean_commits":3.0,"dds":0.5,"last_synced_commit":"6030bded77e6240532e63a920f60f7d86f85bae5"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/streamich/content-ranking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcontent-ranking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcontent-ranking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcontent-ranking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcontent-ranking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/streamich","download_url":"https://codeload.github.com/streamich/content-ranking/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/streamich%2Fcontent-ranking/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269688138,"owners_count":24459408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-12T08:06:19.512Z","updated_at":"2025-08-12T08:06:39.185Z","avatar_url":"https://github.com/streamich.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# content-ranking\n\nContent ranking formulas.\n\n- `hotReddit` \u0026mdash; Reddit's *\"hot\"* content ranking formula.\n- `hotYCombinator` \u0026mdash; YCombinator's *\"hot\"* content ranking formula.\n- `bestReddit` \u0026mdash; Reddit's *\"best\"* content ranking formula.\n- `controversialReddit` \u0026mdash; Reddit's *\"controversial\"* content ranking formula.\n\n\n## Usage\n\n```shell\nnpm i content-ranking\n```\n\nthen\n\n```js\nimport {hotReddit, hotYCombinator, bestReddit, controversialReddit} from 'content-ranking';\n\nhotReddit(ups, dows, createdTimeInMilliseconds);\nhotYCombinator(ups, createdTimeInMilliseconds);\nbestReddit(ups, dows);\ncontroversialReddit(ups, dows);\n```\n\n\n## License\n\n[Unlicense](LICENSE) \u0026mdash; public domain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fcontent-ranking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstreamich%2Fcontent-ranking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstreamich%2Fcontent-ranking/lists"}