Home

Awesome

deno-x-ranking

(Deno) gh-pages nest badge

Rating ranking Dinosaurus

🦕 Deno Third Party Modules Ranking 👑
https://deno.land/x/ranking

Ranking Page

https://yoshixmk.github.io/deno-x-ranking

Get Started

Github API Tokens

Prepare an access token for Github public access permission only from the following URL. When public access setting permissions, you can leave all check boxes cleared.
https://github.com/settings/tokens/new

Tsv / Csv output

$ deno run --allow-net --allow-write --allow-env https://deno.land/x/ranking/mod.ts -u <github username> -t <github token> -f <tsv | csv>

Console output

$ deno run --allow-net --allow-env https://deno.land/x/ranking/mod.ts -u <github username> -t <github token> -f table

Markdown output

$ deno run --allow-net --allow-write --allow-read --allow-env https://deno.land/x/ranking/mod.ts -u <github username> -t <github token> -f markdown

Help

$ deno run --allow-net --allow-write --allow-read --allow-env ./mod.ts --help

Testing

$ deno test --allow-read --allow-env --allow-net

Ranking Logic

After processing according to the ranking logic below, limit to only the necessary data for each output format, and output at the end.

  1. Ranking GitHub Star count.
  2. Sorted by GitHub Star.
  3. If same GitHub Star count, continue to check rank using forks count, watchers count, subscribers count.

Sample

Hosting using Markdown format

$ deno run --unstable --allow-read --allow-write --allow-net https://raw.githubusercontent.com/xcatliu/pagic/v1.4.0/mod.ts build --serve --watch

429 Too Many Requests ??

This module sends many requests to deno registry2 API and Github API.
Please be careful about continuous use.

Plan