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.
@namics/frontend-defaults-cli
Advanced tools
CLI tool which creates a default setup for your frontend project
npx @namics/frontend-defaults-cli my-project
or in an existing project
npx @namics/frontend-defaults-cli
npx @namics/frontend-defaults-cli --eslint --dryRun
npx @namics/frontend-defaults-cli my-project --presetTs
npx @namics/frontend-defaults-cli --ts --eslint
Usage: <project-name> [options]
Options:
-pTs, --presetTs Preset typescript (recommended)
-pEs, --presetEs Preset javascript
-ts, --ts with typescript configurations
-es, --es with javascript configurations
-esl, --eslint add eslint
-e --editorconfig add editorconfig
-p --prettier add prettier
-s --stylelint add stylelint
-lo --licenseOpenSource select open source license
-lc --licenseClosedSource select closed source license
-ch --copyrightHolder [string] for open source license the copyrightHolder is needed
-gi --gitignore add gitignore
-n --npmrc add npmrc
-r --readme add readme file
-gh --githooks add githooks
-c --commitlint add commitlint (will enable githooks too)
-lch --licenseChecker add licenseChecker
-nv --nodeVersion add node-version file
-w --webpack add webpack with webpack-config-plugins
-b --build add build and watch script
-i --install install dependencies
-ni --noInstall do not install dependencies
-f --force create package.json and override existing files
-cwd --cwd defines where the configurations will be installed (default = process.cwd())
-d --dryRun prints changes will happens by given args
-h, --help output usage information
const { api } = require('@namics/frontend-defaults-cli');
api({
ts: true,
eslint: true,
install: false,
});
FAQs
CLI tool which creates a default setup for your frontend project
The npm package @namics/frontend-defaults-cli receives a total of 42 weekly downloads. As such, @namics/frontend-defaults-cli popularity was classified as not popular.
We found that @namics/frontend-defaults-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
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.