Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Deno libraries on framework.dev using GitHub API #754

Open
kenslachtajr opened this issue Mar 21, 2023 · 1 comment
Open
Assignees
Labels
help wanted Extra attention is needed

Comments

@kenslachtajr
Copy link
Contributor

kenslachtajr commented Mar 21, 2023

Description

  • Deno is not supported out of the box and a research spike was conducted to determine the best way to add support for Deno libraries on framework.dev. This ticket involves and adding support for comparing different Deno libraries based on certain properties. At the end of this text, you can see some suggested properties for comparison which we can use.

  • Adding badges for Deno libraries is an additional need for this ticket. We are able to make use of the same properties in implementing badge functionality as well. Please refer to the original spike ticket for more context: SPIKE: Investigate fixing comparison tool #577

Deno

Deno distinguishes itself from other languages/frameworks because it doesn't have a centralized package repository. In a Deno app, you can import packages using an URL from anywhere.

Deno native packages are usually listed on deno.land/x. This service provides some basic information about packages, such as repository URL and popularity, but that is about it. It also doesn't provide any API. Probably, all of the information is extracted from the respective GitHub repositories. Popularity, for example, could be calculated by the number of watchers, forks, and stars. We could do something similar for framework.dev.

@dariodjuric
Copy link
Contributor

As noted in the description, GitHub is the only source of information about Deno libraries at the moment. deno.land/x does not offer an API. Therefore we can use the following statistics for library comparison, as well as badges (whichever are supported by shields.io):

  • Number of watchers
  • Number of forks
  • Number of stars

@kenslachtajr kenslachtajr added the help wanted Extra attention is needed label Mar 29, 2023
@dariodjuric dariodjuric self-assigned this May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants