
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@skyfox2000/vite-plugin-auto-import-dts
Advanced tools
A Vite plugin to auto-import and manage TypeScript declarations.
A Vite plugin to auto-import and manage TypeScript declarations.
npm install @skyfox2000/vite-plugin-auto-import-dts --save-dev
// vite.config.ts
import autoImportDTS from "@skyfox2000/vite-plugin-auto-import-dts";
export default {
plugins: [
autoImportDTS({
path: "./src/views",
target: "./src/types/global.d.ts"
})
]
};
This plugin accepts the following configuration options:
| Option | Type | Default | Description |
|---|---|---|---|
path | string | './src/views' | The directory or directories to scan for .d.ts files. You can specify a single directory or an array of paths. |
target | string | './src/types/global.d.ts' | The target file where the generated global type declarations will be stored. If the target path does not exist, an error will be thrown. Make sure to manually create the necessary directories. |
FAQs
A Vite plugin to auto-import and manage TypeScript declarations.
We found that @skyfox2000/vite-plugin-auto-import-dts 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.