
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
generator-node-module-boilerplate
Advanced tools
NodeJS module boilerplate
First, install Yeoman and generator-node-module-boilerplate using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-node-module-boilerplate
Then generate your new project:
yo node-module-boilerplate
.gitignore.eslintrc (airbnb).npmignore.codeclimate.yml.travis.yml.editorconfigDevelopment
npm run dev
run nodemon and tests (importing from src/)
Coverage
npm run coverage
run istanbul coverage and put result in coverage/
Code Climate
npm run climate-coverage
run coverage and send it to code-climate (you need to set CODECLIMATE_REPO_TOKEN as an enviroment variable)
Code Climate dotenv
npm run climate-coverage-dotenv
run coverage and send it to code-climate (you need to set CODECLIMATE_REPO_TOKEN in .env file)
Start
npm start
run node src/index.js
Dependencies Vulnerabilities
npm run check-dependencies
check dependencies vulnerabilities using nsp
Post install
npm run postinstall
call check-dependencies, this is will be called after every package installation
Linter
npm run lint
run eslint src according .eslintrc file
Tests
npm test
run mocha
MIT © Marcos Rava
FAQs
NodeJS module boilerplate
The npm package generator-node-module-boilerplate receives a total of 6 weekly downloads. As such, generator-node-module-boilerplate popularity was classified as not popular.
We found that generator-node-module-boilerplate 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.