@soydaddy/startup
v1.0.2
Published
A package that downloads and updates projects from a repository, supporting multi-language prompts and resumable downloads.
Downloads
18
Maintainers
Readme
Startup Package
A package that helps download and update projects from a repository with multi-language support, resumable downloads, and interactive prompts.
Features
- Automatically download and update projects from a repository.
- Supports multiple languages.
- Resumable downloads if the process is interrupted.
- Interactive prompts for selecting projects and updating versions.
Installation
To install the package, use the following command:
npm install @soydaddy/startup
Usage
To start using the package, you need to add the following code to your index.js
file:
const Startup = require('@soydaddy/startup');
// Initialize the package with the project name, version, and language (optional)
new Startup('projectName', '1.0.0', 'en'); // Replace 'projectName' and '1.0.0' with the actual values
Explanation:
projectName
: Replace this with the name of the project you want to download (e.g.,'template'
).version
: Replace this with the version of the project you want to use.language
: (Optional) Specify the language for the prompts (default is English,'en'
).
After adding this to your index.js
, you can run the project with:
npm start