github-size
v1.0.0
Published
A Simple Lightweight Tool to check size of any Github Repository
Downloads
9
Readme
⚡️ Quick start
Install the CLI using npm or yarn
npm i -g github-size
# or
yarn global add github-size
⚙️ Usage
github-size <url>
Example:
github-size https://github.com/torvalds/linux
Output:
4.21 GB
📝API
const {getRepoDetails} = require("../api");
const url = "https://github.com/torvalds/linux";
getRepoDetails(url).then((size) => console.log(size)); // 4.21 GB