API for svelte-watch libraries stats with NodeJs
API back-end for the Svelte-watch project that returns statistics for svelte libraries after fetching data from Github and NPM APIs.
yarn
yarn start
Visit http://localhost:3000/ it should return JSON response with the following shape:
{
updatedAt: string,
data: Array<
{
name: string;
url: string;
tags: string[];
description: string;
starsCount: number;
contributorsCount: number;
recentCommitsCount: number;
recentDownloadsCount: number;
hasMeaningfulTests: false;
hasExampleCode: false;
hasAPIDoc: false;
hasCISetup: false;
hasTopRecentDownloads: boolean;
hasTopStars: boolean;
hasRecentRelease: boolean;
hasMultipleContributers: boolean;
hasManyContributers: boolean;
hasRecentCommits: boolean;
score: number;
}
>
]
}
š¤ Nazeh
Give a āļø if this project helped you!