Skip to content

Nuhvi/svelte-watch-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Svelte Watch API 👋

Version Twitter: arnazeh

API for svelte-watch libraries stats with NodeJs

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!

About

API for svelte-watch libraries stats with NodeJs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published