svelte-watch-api Svelte Themes

Svelte Watch Api

API for svelte-watch libraries stats with NodeJs

Welcome to Svelte Watch API šŸ‘‹

Version Twitter: arnazeh

API for svelte-watch libraries stats with NodeJs

šŸ  Homepage

āœØ Demo

API back-end for the Svelte-watch project that returns statistics for svelte libraries after fetching data from Github and NPM APIs.

Install

yarn

Usage

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;
    }
  >
  ]
}

Author

šŸ‘¤ Nazeh

Show your support

Give a ā­ļø if this project helped you!

Top categories

Loading Svelte Themes