1.0.0 • Published 2 years ago

github-size v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

⚡️ 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

License

MIT