
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
easy-node-init
Advanced tools
Kickstart your Node.js projects effortlessly using this CLI tool that automates project initialization and module integration.
Fast-track your Express.js and Mongoose-based API development with ease!
The Easy Node Initializer is a powerful tool designed to simplify the process of creating Express.js APIs integrated with MongoDB using Mongoose. Say goodbye to hours of manual configuration and file setup – with just a few simple commands, you can have your API up and running in seconds.
Install nodemon by running the following command in your project directory or modify it according to your ease:
npm i -g nodemon
Certainly! Here's the command for installing an npm package globally in Markdown format:
On Windows (run as Administrator):
npm install -g easy-node-init
On Linux/macOS (using sudo for superuser privileges):
sudo npm install -g easy-node-init
To set your secret key in an environment variable run the command:
export easynodeinti_jwtPrivateKey=<your-secret-key>
To enable debugging:
export debug=app:*
To start the server:
npm start
To run tests:
npm test
Make sure to replace <your-secret-key> with your actual secret key when setting the easynodeinti_jwtPrivateKey environment variable.
Use the following command to initialize a basic setup for an Express-based API:
eni setup
Initialize Basic Express Setup
To set up essential files for Mongoose, execute the following command:
eni db-setup
Create a user module with all the required functions, along with test files, using the following command:
eni auth
Generate a module with auto-generated controller, module, route, and integration test for it by running the following command, replacing <module-name> with your desired module name:
eni create-module <module-name>
Create a new controller with auto-generated routes and integration tests by using the following command, replacing <controller-name> with your desired controller name:
eni create-controller <controller-name>
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
Kickstart your Node.js projects effortlessly using this CLI tool that automates project initialization and module integration.
We found that easy-node-init demonstrated a not healthy version release cadence and project activity because the last version was released 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.