
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
@hey-api/vite-plugin
Advanced tools
Vite plugin for @hey-api/openapi-ts.
Manual • Issues • Contribute
Vite is a blazing fast frontend build tool powering the next generation of web applications.
The Vite plugin integrates @hey-api/openapi-ts into the Vite build pipeline, running automatically whenever Vite resolves its configuration – no separate script or manual step required.
Part of the Hey API ecosystem.
Want to see your code in products used by millions?
Start with our Contributing guide and release your first feature.
Hey API is sponsor-funded. If you rely on Hey API in production, consider becoming a sponsor to accelerate the roadmap.
|
|
|
|
scalar.com |
fastapi.tiangolo.com |
|
|
You can download @hey-api/vite-plugin from npm using your favorite package manager.
npm add @hey-api/vite-plugin -D -E
pnpm add @hey-api/vite-plugin -D -E
yarn add @hey-api/vite-plugin -D -E
bun add @hey-api/vite-plugin -D -E
Add the plugin to your vite.config.ts:
import { heyApiPlugin } from '@hey-api/vite-plugin';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [heyApiPlugin()],
});
The plugin will automatically pick up your configuration file. You can also pass options inline using the config option:
import { heyApiPlugin } from '@hey-api/vite-plugin';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
heyApiPlugin({
config: {
input: 'hey-api/backend', // sign up at app.heyapi.dev
output: 'src/client',
},
}),
],
});
Released under the MIT License.
FAQs
🚀 Vite plugin for `@hey-api/openapi-ts` codegen.
The npm package @hey-api/vite-plugin receives a total of 1,887 weekly downloads. As such, @hey-api/vite-plugin popularity was classified as popular.
We found that @hey-api/vite-plugin 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.