Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
generator-oniyi
Advanced tools
An opinionated generator for node.js modules. Making use of ESLint, Prettier, Jest, Travis, Coveralls, Husky, and Lint-Staged
An opinionated generator for node.js projects.
Mostly based on generator-node, so thanks to the team over there.
It creates a boilerplate project setup composed from multiple sub-generators and finally installs dependencies via npm
.
All boolean
options can be set to false with --no-<option>
(e.g. --no-git
)
true
) - Execute git sub-generatortrue
) - Execute boilerplate sub-generatortrue
) - Execute license sub-generatortrue
) - Execute readme sub-generatortrue
) - Execute travis sub-generatortrue
) - Include coveralls configuration'lib'
) - Relative path to the project code root (folder in repo where code resides)dirname
) - The name for this module@<scope>
from name
or resolved from authorEmail
) - The name of the account on Github that hosts your repositoryname
of the module; repository
from package.json
or from git remote origin
) - The name of your repository on GithubdevDependencies
and scripts
from the generator's package.json
into your project's package.json
.npmrc
and .npmignore
fileslib/index.js
and lib/__tests__/<module-name>.test.js
eslint
config files (combines rules from airbnb-base
and prettier
)jest.config.js
prettier.config.js
huskyrc.js
and lint-staged.config.js
This sub-generator will not overwrite any existing repository
data in package.json
.
It will however attempt to register a ssh url version of package.json#repository[.url]
as git remote origin
if no origin
exists yet.
git
option is set to false, coveralls
and travis
are false / disabled automatically.gitignore
and .gitattributes
filesgithub-account
)repository-name
)repository
information to package.json
travis
option is true
. When coveralls
option is also true
, will add after_script
in travis config to publish coverage report data to coveralls.Apache-2.0
license.Apache-2.0 © Benjamin Kroeger
FAQs
An opinionated generator for node.js modules. Making use of ESLint, Prettier, Jest, Travis, Coveralls, Husky, and Lint-Staged
We found that generator-oniyi 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.