Deno Third Party Modules Ranking

deno-x-ranking

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 https://deno.land/x/ranking/mod.ts -h

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

./examples/ranking_result.tsv

Plan

  • [x] "type": "github" support
  • [x] "type": "npm" support not support. [deprecated] NPM backed deno.land/x entries are deprecated will be removed on August 1st 2020.
  • [x] "type": "deno_std" support. The repository that uses deno_std is already included in the ranking by Deno himself
  • [x] real-time ranking page update
  • [x] Corresponds to the registry2. Change to not use the database.json.

Download Details:

Author: yoshixmk

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

Source Code: https://github.com/yoshixmk/deno-x-ranking

#deno #nodejs #node #javascript

Deno Third Party Modules Ranking
2.65 GEEK