@imksh/create
v1.0.24
Published
A production-ready create for scaffolding modern applications.
Maintainers
Readme
@imksh/create
A production-ready Node.js CLI tool to scaffold modern applications quickly. Built with ES Modules, Commander, Inquirer, Chalk, and Ora.
Installation
You can use the CLI directly without installing via npx (or pnpm dlx / yarn create):
npx @imksh/create create my-appOr you can install it globally:
npm install -g @imksh/createUsage
Create a new project using the interactive prompt:
imksh create my-appOptions
--template <template-name>: Bypass the interactive prompt and specify the template directly.--skip-install: Skip the automatic installation of dependencies.--no-git: Skip initializing a git repository.--yes: Use default options for everything without prompting.
Examples
# Interactive mode
imksh create my-app
# Specify template directly
imksh create my-app --template react-ts
# Skip installing dependencies
imksh create my-app --template next --skip-installAvailable Templates
react: Vite, React, React Router, Axios, TailwindCSS, Lucide.react-ts: Same asreact, but with TypeScript.node: Express, security middlewares, separatedapp.js/index.jsarchitecture, custom colorized logger, JWT, Rate Limiter, Socket.io scaffolding, web-push subscriptions, SMTP OTP mailer, and Cloudinary uploads.node-ts: Same asnode, but with TypeScript, global request type extensions (src/types/express.d.ts), and powered bytsx(TypeScript Execute) runtime.node-prisma: Node.js template with Prisma ORM setup, mapping relational models for Users, OTPs, and push subscriptions.node-prisma-ts: Same asnode-prisma, but with TypeScript andtsxconfiguration.mern: Full-stack React client + Express/Node server incorporating the new modular structure.mern-ts: Full-stack React client (TS) + Express/Node server (TS) incorporating the new modular structure.next: Next.js App Router boilerplate.next-ts: Next.js App Router boilerplate with TypeScript.react-native: Expo React Native template with NativeWind, Zustand, and React Navigation.mern-react-native: Full-stack Expo React Native client + Express/Node server.
Adding Templates
To add a new template, simply create a new folder under templates/ with your template name and populate it with the complete boilerplate. The CLI automatically copies it when selected.
Folder Structure
@imksh/create/
├── bin/ # Executable entry
├── src/ # Core CLI logic
│ ├── commands/ # CLI Commands (create, etc.)
│ └── utils/ # Helper functions
└── templates/ # Project boilerplate templatesPublishing to npm
To publish this package to npm:
- Create an npm account and log in via terminal:
npm login - Make sure you are a member of the
@imkshorganization or it's your username. - Run the publish command:
npm publish --access public - To update future versions, update the version in
package.json(or usenpm version patch/minor/major) and runnpm publish --access publicagain.
