
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
@trisers/cli-node-template
Advanced tools
A powerful CLI tool that generates modular Node.js applications with support for TypeScript/JavaScript, multiple databases, and pre-built modules like authentication.
npm install -g node-cli-boilerplate
git clone <repository-url>
cd node-cli-boilerplate
npm install
npm link
create-node-app
The CLI will guide you through the following options:
🚀 Welcome to create-node-app CLI
✔ What is your project name? my-awesome-api
✔ Which language do you want to use? TypeScript
✔ Which database do you want to use? MongoDB
✔ Which modules do you want to include? Authentication System
✅ Project created successfully!
📁 my-awesome-api
💡 Next steps:
cd my-awesome-api
npm install
npm run dev
👉 Copy .env.example to .env and fill in your credentials and values before running the app.
my-awesome-api/
├── configs/
│ ├── initServer.ts # Express server configuration
│ └── mongodb.config.ts # Database connection (selected DB)
├── constants/
│ ├── codes.ts # HTTP status codes
│ ├── environment.ts # Environment variables
│ └── messages.ts # Response messages
├── controllers/
│ ├── auth.controller.ts # Authentication endpoints
│ └── example.controller.ts # Example controller
├── middlewares/
│ ├── auth.middleware.ts # Authentication middleware
│ └── errorHandler.ts # Global error handler
├── models/ # MongoDB models (if MongoDB selected)
│ └── User.ts
├── routes/
│ ├── auth.routes.ts # Authentication routes
│ └── routes.ts # Main router
├── schemas/ # SQL schemas (if SQL DB selected)
│ └── users.sql
├── scripts/
│ └── init-schema.js # Database schema initialization
├── services/
│ └── auth.mongodb.service.ts # Database-specific auth service
├── types/
│ ├── auth.ts # Authentication type definitions
│ └── common.ts # Common type definitions
├── utils/
│ ├── auth.utils.ts # Authentication utilities
│ └── utils.ts # General utilities
├── .env.example # Environment variables template
├── index.ts # Application entry point
├── package.json # Project dependencies
└── tsconfig.json # TypeScript configuration
npm run init-schema to create tablesnpm run init-schema to create tablescreate-node-app
cd your-project-name
npm install
cp .env.example .env
# Edit .env with your database credentials
npm run init-schema
npm run dev
npm run dev # Start development server with hot reload
npm run build # Build for production (TypeScript only)
npm run start # Start production server
npm run test # Run tests
npm run init-schema # Initialize database schema (SQL databases)
/uploads directorynpm run test
__test__/
├── auth.test.ts # Authentication tests
├── database.test.ts # Database connection tests
└── utils.test.ts # Utility function tests
git checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)This project is licensed under the ISC License.
Made with ❤️ by the Risers Team
FAQs
It's a boilerplate for creating Node.js CLI applications.
We found that @trisers/cli-node-template demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.