
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
mcr-cli-app
Advanced tools
A simple app that when run inside a folder creates an MCR structure and installs development dependencies.
A simple Node.js CLI Application for initialising a new NPM project.
The purpose of developing this application is to ease up my process of starting a new NPM project and creating a skeleton of MCR (Model, Controllers and Routes) Structure in which I organise my code.
You can install this npm package by running
npm i -g mcr-cli-app
Note: You must install this module globally. I have not tested this as being installed as a project dependency and I am not responsible if you mess up your project or your system catches on fire or worse.
You can use this package in any directory. Just run the following command
mcr-init
and it will create a following structure for you
+-- package.json
+-- package-lock.json
+-- node_modules
| +-- module1 ...
| +-- module2 ...
+-- src
| +-- index.js
| +-- models
| | +-- index.js
| +-- controllers
| | +-- index.js
| +-- routes
| | +-- index.js
The mcr-init command internally runs npm init -y on your behalf and skips the initial steps of setting up a node.js app which you might usually see on running the npm init command.
YOU MUST ENTER STUFF IN PACKAGE.JSON YOURSELVES
I personally use 2 development dependencies a lot:
These will be installed when you run mcr-init command. If you do not wish to use these dependencies, you can uninstall them later.
FAQs
A simple app that when run inside a folder creates an MCR structure and installs development dependencies.
We found that mcr-cli-app 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.