Security News
Combatting Alert Fatigue by Prioritizing Malicious Intent
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
@mls-digital/generator-node-module
Advanced tools
Yeoman generator for creating independent node modules with es2015 converstion to UMD
A yeoman generator for creating stand-alone node modules. Converts ES2015 to UMD modules via Babel. Uses tape / faucet for testing and ESLint for linting.
All source code should live in
src
dir. Compiles tolib
dir.
Make sure you have
yo
installed!
First install the module
npm install -g @mls-digital/generator-node-module
Then run yo
yo @mls-digital/node-module
.
├── .babelrc
├── .codeclimate.yml
├── .eslintignore
├── .eslintrc
├── .gitignore
├── .npmignore
├── LICENSE.md
├── package.json
├── readme.md
└── src
└── index.js
1 directory, 10 files
{
"babel-cli": "^6.4.5",
"babel-preset-es2015": "^6.3.13",
"babel-plugin-transform-es2015-modules-umd": "^6.4.3",
"babel-register": "^6.4.3",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^3.1.0",
"faucet": "0.0.1",
"rimraf": "^2.5.0",
"tape": "^4.4.0"
}
{
"lint": "eslint .",
"test": "tape -r babel-register test/*.js | faucet",
"compile": "rimraf lib && babel src --out-dir lib",
"dev": "rimraf lib && babel src --out-dir lib -w",
"release": "npm publish ?(--access public)"
}
FAQs
Yeoman generator for creating independent node modules with es2015 converstion to UMD
We found that @mls-digital/generator-node-module demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.