
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
generator-commonjs
Advanced tools
Create a CommonJS module with Yeoman, including nodeunit unit tests.
This generator is based of grunt-init-commonjs, authored by the magnificient GruntJS team.
Maintained by Addy Osmani.
If you haven't already done so, install Yeoman.
Once Yeoman is installed, install this generator via npm install -g generator-commonjs
.
At the command-line, cd into an empty directory, run this command and follow the prompts.
yo commonjs
Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.
FAQs
Generate a CommonJS module
The npm package generator-commonjs receives a total of 15 weekly downloads. As such, generator-commonjs popularity was classified as not popular.
We found that generator-commonjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.