
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@kubb/cli
Advanced tools
Command-line interface for Kubb, enabling easy generation of TypeScript, React-Query, Zod, and other code from OpenAPI specifications.
kubb initInitialize a new Kubb project with an interactive setup wizard.
npx kubb init
Use the -y / --yes flag to skip all prompts and accept the defaults:
npx kubb init -y
Defaults when using -y:
./openapi.yaml./src/genThis command will:
package.json if it doesn't exist./openapi.yaml)./src/gen)kubb.config.ts file with your chosen configurationkubb generateGenerate files based on your kubb.config.ts configuration.
npx kubb generate
Options:
-c, --config <path> - Path to the Kubb config file-l, --logLevel <level> - Set log level (silent, info, verbose, debug)-w, --watch - Watch mode based on the input file-d, --debug - Enable debug mode-v, --verbose - Enable verbose mode-s, --silent - Enable silent modekubb validateValidate a Swagger/OpenAPI file.
npx kubb validate <path-to-openapi>
kubb mcpStart the MCP server to enable the MCP client to interact with the LLM.
npx kubb mcp
Kubb uses an MIT-licensed open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
FAQs
Command-line interface for Kubb, enabling easy generation of TypeScript, React-Query, Zod, and other code from OpenAPI specifications.
The npm package @kubb/cli receives a total of 93,269 weekly downloads. As such, @kubb/cli popularity was classified as popular.
We found that @kubb/cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.