esbuild-plugin-virtual
JSON →An esbuild plugin for loading virtual modules from memory, inspired by @rollup/plugin-virtual. Version 0.1.0 is designed for esbuild's plugin system, enabling in-memory module resolution during bundling. Releases are stable but infrequent. Key differentiators: simple API (object map of module names to content), works with both Node and Deno, virtual modules are resolved with a 'virtual:' prefix internally. Compared to file-based alternatives, it eliminates filesystem I/O for tests or dynamic content. Currently ships TypeScript definitions, but lacks advanced features like virtual directories or lazy loading.
Traffic · last 30 days ↓67% vs prev 7d
total hits 10
actors 3 distinct systems
last hit 4d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇸🇬 Singapore
Resources
API endpoints
full doc /v1/registry/esbuild-plugin-virtual