@path-ioc/unplugin weekly downloads statistics
By path-ioc · npm · Webpack plugins
Universal dev plugin for Path-IoC generating virtual modular container and TypeScript typings
@path-ioc/unplugin has 9 recorded weekly downloads on npm.
It ranks #1939 of 2,251 tracked npm listings by weekly downloads.
Over the past 7 days it changed by -83.9%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About @path-ioc/unplugin
@path-ioc/unplugin
Compiler-Runtime Co-design Plugin for Path-IoC (Virtual Container & Type Synthesis)
Cross-bundler virtual module injector & microsecond TypeScript type generator for Vite, Rolldown, Webpack 5, Rspack, Rollup, and Esbuild
English | 简体中文 | Official Docs
💡 Architectural Positioning: Compiler-Runtime Co-design @path-ioc/unplugin is not a mere convenience helper; it is the compiler-side twin intimately coupled with @path-ioc/core, forming the bedrock of Path-IoC's Compiler-Runtime Co-design philosophy. In modern TypeScript development, relying on runtime reflection (reflect-metadata) causes bundling failures, cold-start latency, and lack of true static type awareness. @path-ioc/unplugin shifts module scanning, DAG topological caching, and type synthesis to the build phase, enabling sub-millisecond hot-reloading and 21.2 µs per-request container ignition for the @path-ioc/core runtime. 📖 For module authoring specifications, pure function factories, and end-to-end guides, see: @path-ioc/core Official Guide or visit the official documentation at https://path-ioc.dev/.
Live Demo & Instant Ignition (Live Demo Video)
⚡ Live Architecture Tour: Real-time Coding, Topological Orchestration & Instant Ignition 🌐 Watch Video on path-ioc.dev | ▶ Direct MP4 (1080p HD)
Key Pillars of Compiler-Runtime Co-design
1. Single-Graph Compile Cache Closure (compiledGraph)
Inside the generated virtual:modular-container, @path-ioc/unplugin maintains a module-level closure that holds the pre-compiled compiledGraph:
• One-Time Cold Boot: The entire application's dependency DAG is parsed, validated, and sorted once at process startup (500 nodes compile in just 1.72 ms); • Ultra-Fast Request Ignition: Every invocation of createModularContainer() reuses the cached immutable graph, hydrating an isolated container in just 21.2 microseconds (µs); • Zero Runtime DAG Recomputation: In high-concurrency environments (Cloudflare Workers, Hono, Node.js), incoming HTTP requests suffer zero latency penalty from graph reconstruction.
2. Microsecond AST Real-Time Type Synthesis (0.04 ms)
During development and Hot Module Replacement (HMR), the plugin's background AST scanner detects file changes and generates types/ignore.modular.d.ts in 0.04 milliseconds:
• Augments the global ModularContainer interface with zero manual boilerplate; • Developers write const { db, logger } = container; and instantly enjoy 100% accurate IDE auto-completion and type checking; • Safely manages ephemeral declaration files with automatic .gitignore self-healing.
3. Clear Host Ignition Boundary
Traditional frameworks force business code to adapt to proprietary application classes and controller decorators. With @path-ioc/unplugin, the host only ignites the container:
Business modules circulate 100% autonomously within the mesh, completely decoupled from the host environment.
Universal Bundler Integration
1. Installation
2. Bundler Configuration Quick Reference
Vite (vite.config.ts)
Rolldown (rolldown.config.ts)
Rspack (rspack.config.js)
Webpack 5 (webpack.config.js)
Rollup (rollup.config.js) & Esbuild
Zero-Configuration by Default: All bundler plugins fully support zero-argument pathIoc() invocation. If your project uses custom directories, override them as needed:
Plugin Options (PathIocPluginOptions)
| Option | Type | Default | Description |
| modulesPath | string | 'src/modules' | Root directory scanned for modular IoC entrypoints (index.ts/tsx). v0.1.7+: Supports targeted multi-module compilation using brace syntax (e.g., src/modules/{core,admin}). To maintain path determinism, wildcards (*, ?) and nested braces are not supported. | | typeFileOutput | string | 'types' | Target directory where ignore.modular.d.ts is generated. |
Virtual Module (virtual:modular-container)
The plugin injects virtual:modular-container into your application at build time:
Serverless / Hono Production Example (Request Isolation)
Module Authoring & Core Runtime Guide
@path-ioc/unplugin focuses on compile-time automated scanning, type synthesis, and single-graph cache injection. For authoring main pure-function closures, declaring Mesh dependencies, and leveraging IoC-DL and AOP aspects, please refer directly to: 👉 Read the @path-ioc/core Architectural & Practical Guide or visit the official documentation at https://path-ioc.dev/.
License
Released under the MIT License. Copyright © 2026-present Path-IoC Organization & Lian HanLin.
Description from the npm listing.
- unplugin
- vite-plugin
- webpack-plugin
- rspack-plugin
- rollup-plugin
- ioc
- dependency-injection
- code-generation
Where @path-ioc/unplugin sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (121)Similar npm Webpack plugins plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@path-ioc/unplugin. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.