Awesome
deno-x-ranking
🦕 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.
- Ranking GitHub Star count.
- Sorted by GitHub Star.
- 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
-
"type": "github"
support -
"type": "npm"
supportnot support. [deprecated] NPM backed deno.land/x entries are deprecated will be removed on August 1st 2020. -
"type": "deno_std"
support. The repository that uses deno_std is already included in the ranking by Deno himself - real-time ranking page update
- Corresponds to the registry2. Change to not use the
database.json
.