awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
unplugin avatar

unplugin/unplugin-auto-import

0
View on GitHub↗
3,786 estrellas·217 forks·TypeScript·MIT·2 vistas

Unplugin Auto Import

unplugin-auto-import is a JavaScript auto-import plugin designed to eliminate the need for manual import statements in JavaScript and TypeScript projects. It identifies and registers modules to automatically inject necessary dependencies during the build process.

The project utilizes a unified bundler plugin interface to provide consistent transformation logic across Vite, Webpack, and Rollup environments. It includes a TypeScript declaration generator to produce type definition files for auto-imported identifiers, ensuring IDE autocompletion and type checking. Additionally, it provides a static analysis configuration tool to update linter settings and prevent false positive errors for undefined variables.

The tool covers a broad range of module automation capabilities, including the registration of global modules and the scanning of local directories to expose project-specific exports as globally available APIs.

Features

  • Automatic Import Injections - Automatically injects necessary import statements into source files during bundling to eliminate manual import declarations.
  • Framework-Agnostic Auto-Import Plugins - Provides a framework-agnostic utility to detect and register modules for global use, eliminating the need for manual import statements.
  • Build Plugin Integrations - Integrates with various build systems via a unified plugin interface to provide consistent module transformations.
  • Module Import Automations - Eliminates repetitive manual import statements by automatically injecting dependencies during the JavaScript build process.
  • TypeScript Declaration Generators - Automatically produces TypeScript declaration files mapping global identifiers to their source modules for IDE support.
  • Auto-Import Type Declarations - Automatically generates .d.ts files to provide type safety and IDE autocompletion for dynamically injected imports.
  • AST-Based Code Manipulation - Implements AST-based code manipulation to identify missing identifiers and inject necessary import statements during the build process.
  • Build Pipeline Plugin Interfaces - Implements a standardized plugin interface to apply consistent transformation logic across different bundling environments.
  • Automatic Module Registrations - Automatically discovers and registers modules and APIs during the build process to eliminate manual imports.
  • Cross-Bundler Plugin Abstractions - Provides a unified abstraction layer that allows a single plugin to operate across Vite, Webpack, and Rollup bundlers.
  • TypeScript Type Definitions - Generates automatic type definitions to ensure IDEs provide accurate autocompletion and error checking for global imports.
  • Frontend Build Pipelines - Streamlines the frontend build pipeline by unifying module registration and injection across multiple bundlers.
  • Project Directory Scanning - Traverses project directories to detect and register local exports as globally available APIs based on defined patterns.
  • Static Analysis Configurations - Updates static analysis configurations to ensure auto-imported identifiers are recognized as valid.
  • Linter Synchronization - Automatically updates linter settings to prevent false-positive undefined variable errors for auto-imported identifiers.
  • Virtual Module Injection - Injects synthetic modules into the build pipeline to resolve global dependencies without modifying source files on disk.
  • Modular Project Structures - Simplifies project structure by exposing local utilities globally, reducing the need for complex relative import paths.
  • Linter Configuration Management - Manages linter settings and rules to recognize auto-imported identifiers and prevent false-positive undefined variable errors.
  • Developer Utilities - Auto-import Vue APIs on-demand.

Historial de estrellas

Gráfico del historial de estrellas de unplugin/unplugin-auto-importGráfico del historial de estrellas de unplugin/unplugin-auto-import

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Unplugin Auto Import

Proyectos open-source similares, clasificados según cuántas características comparten con Unplugin Auto Import.
  • antfu/unplugin-auto-importAvatar de antfu

    antfu/unplugin-auto-import

    3,786Ver en GitHub↗

    unplugin-auto-import is a build-time import automation plugin and AST-based code transformer. It analyzes source code to identify missing identifiers and automatically injects the required import statements during the bundling process. The project functions as a cross-bundler build plugin, providing a unified abstraction layer that ensures consistent behavior across Vite, Webpack, and Rollup. It utilizes a pattern-based module resolver to scan local directories via glob patterns and employs a TypeScript declaration generator to maintain type definition files for IDE autocompletion. Its capab

    TypeScript
    Ver en GitHub↗3,786
  • antfu/unplugin-vue-componentsAvatar de antfu

    antfu/unplugin-vue-components

    4,288Ver en GitHub↗

    unplugin-vue-components is a build tool that automatically injects import and registration statements for Vue components based on their usage in templates. It functions as a framework-agnostic plugin compatible with multiple build tools, including Vite, Webpack, and Rollup. The project provides automated resolution for components from external UI libraries and supports directory-based namespacing to organize elements by folder. To maintain developer experience, it includes a type generator that creates TypeScript declaration files for components imported at build time. Additional capabilitie

    TypeScript
    Ver en GitHub↗4,288
  • unplugin/unplugin-vue-componentsAvatar de unplugin

    unplugin/unplugin-vue-components

    4,288Ver en GitHub↗

    unplugin-vue-components is a build tool that automatically imports and registers Vue components used in templates, eliminating the need for manual import statements. It functions as a plugin for various bundlers, including Vite and Webpack, to resolve and inject component dependencies during the compilation process. The project features a mapping system that identifies and imports components from popular third-party Vue interface libraries. This resolution logic can be extended via custom resolver extensions to modify how specific UI libraries are discovered and imported. To maintain type sa

    TypeScriptauto-importcomponentsunplugin
    Ver en GitHub↗4,288
  • definitelytyped/definitelytypedAvatar de DefinitelyTyped

    DefinitelyTyped/DefinitelyTyped

    51,293Ver en GitHub↗

    DefinitelyTyped is a community-maintained type store and centralized JavaScript type registry. It serves as a repository of static TypeScript type declarations for third-party JavaScript libraries, providing the necessary metadata to enable compile-time safety and editor intelligence for external modules not originally written in TypeScript. The project operates as a collaborative ecosystem where contributors define, validate, and maintain type declarations through a structured review process. This involves mapping type definition versions to specific library and compiler releases to ensure s

    TypeScriptdefinitiondtshacktoberfest
    Ver en GitHub↗51,293
Ver las 30 alternativas a Unplugin Auto Import→

Preguntas frecuentes

¿Qué hace unplugin/unplugin-auto-import?

unplugin-auto-import is a JavaScript auto-import plugin designed to eliminate the need for manual import statements in JavaScript and TypeScript projects. It identifies and registers modules to automatically inject necessary dependencies during the build process.

¿Cuáles son las características principales de unplugin/unplugin-auto-import?

Las características principales de unplugin/unplugin-auto-import son: Automatic Import Injections, Framework-Agnostic Auto-Import Plugins, Build Plugin Integrations, Module Import Automations, TypeScript Declaration Generators, Auto-Import Type Declarations, AST-Based Code Manipulation, Build Pipeline Plugin Interfaces.

¿Qué alternativas de código abierto existen para unplugin/unplugin-auto-import?

Las alternativas de código abierto para unplugin/unplugin-auto-import incluyen: antfu/unplugin-auto-import — unplugin-auto-import is a build-time import automation plugin and AST-based code transformer. It analyzes source code… antfu/unplugin-vue-components — unplugin-vue-components is a build tool that automatically injects import and registration statements for Vue… unplugin/unplugin-vue-components — unplugin-vue-components is a build tool that automatically imports and registers Vue components used in templates,… definitelytyped/definitelytyped — DefinitelyTyped is a community-maintained type store and centralized JavaScript type registry. It serves as a… sindresorhus/type-fest — type-fest is a library of reusable utility types for performing complex transformations and validations on objects,… 3003h/eros-fe — Eros-FE is a TypeScript web frontend designed as a React-based single page application. It provides a component-driven…