@divyansh2209/temp-grabber
v1.0.1
Published
A Command Line Interface (to automatically setup pre-configured JavaScript and various other frameworks initial project template) crafted using NodeJS and external third-party library
Downloads
3
Readme
Template Grabber
Template Grabber helps you create custom boilerplate templating code files that you need to create over and over again. All you need is NodeJS installed to get started.
Command Line Interface
Template Grabber is crafted using NodeJS and several external third-party libraries:
- inquirer: for prompting missing values
- args: for parsing CLI arguments
- ncp: for recursive copying
- chalk: for coloring output commands
- execa: for running external commands
- listr: for specifying list of tasks
Usage
- Generate JavaScript template:
npx @divyansh2209/temp-grabber javascript
- Generate Create React App template:
npx @divyansh2209/temp-grabber react
- Generate Vite React template
npx @divyansh2209/temp-grabber viteReact
- Generate React Redux template:
npx @divyansh2209/temp-grabber react-redux
- Generate Next.js template:
npx @divyansh2209/temp-grabber nextjs
Additional Options
Generate template with initialized GIT:
npx @divyansh2209/temp-grabber javascript --git
npx @divyansh2209/temp-grabber react --git
npx @divyansh2209/temp-grabber viteReact --git
npx @divyansh2209/temp-grabber react-redux --git
npx @divyansh2209/temp-grabber nextjs --git
Generate template with initialized GIT and install all dependencies:
npx @divyansh2209/temp-grabber javascript --git --install
npx @divyansh2209/temp-grabber react --git --install
npx @divyansh2209/temp-grabber viteReact --git --install
npx @divyansh2209/temp-grabber react-redux --git --install
npx @divyansh2209/temp-grabber nextjs --git --install