1.0.0 • Published 1 year ago
@mrhansamala/github-repo-zip-downloader v1.0.0
GitHub Repository ZIP Downloader

This is a Node.js utility script to download ZIP files of GitHub repositories, targeting the main or master branch. Ideal for quickly fetching repository contents for offline use.
Features
- Automatically detects and downloads
mainormasterbranch ZIP files. - Supports user-friendly error handling for invalid or missing repositories.
- Easy-to-use and customizable.
Installation
To install the package via npm, use the following command:
npm install @mrhansamala/github-repo-zip-downloaderUsage Example Script javascript
import downloadGitHubRepoZip from '@mrhansamala/github-repo-zip-downloader';
const exampleRepoUrl = 'https://github.com/your-username/your-repository'; // Replace with the desired GitHub repo URL
downloadGitHubRepoZip(exampleRepoUrl);1.0.0
1 year ago