@inclinedadarsh/event-downloader
v1.1.0
Published
Download Event Management System files by number
Maintainers
Readme
Event Management System File Downloader
Download files from the Event Management System repository by number.
Installation & Usage
Using npx (Recommended - No installation needed)
# Download file #1 (README.md) to current directory
npx @inclinedadarsh/event-downloader 1
# Download file #15 (server.js) to specific directory
npx @inclinedadarsh/event-downloader 15 ./my-projectGlobal Installation
npm install -g @inclinedadarsh/event-downloader
event-download 1How It Works
- Fetches the file mapping from GitHub
- Determines which files to download based on input:
- Number (e.g.,
1): Downloads single file frontend: Downloads all frontend files (files 16-23)backend: Downloads all backend files (files 3-15)all: Downloads all 23 files
- Number (e.g.,
- Downloads files from GitHub raw URLs
- Preserves directory structure (e.g.,
backend/src/utils/admin.jscreatesbackend/src/utils/directories)
File Mapping
Files are numbered in topological order (dependencies first). See file-mapping.json in the main repository.
Publishing to npm
- Create npm account if you don't have one
- Login:
npm login - Publish:
npm publish --access public
Note: Package name must match your npm username scope (@inclinedadarsh/...)
