Unenv: Platform-Agnostic JavaScript Environment
JSON →Unenv is a framework-agnostic system designed to convert JavaScript code for platform-agnostic execution across various environments, including browsers, Web Workers, Node.js, and other JavaScript runtimes. The current stable version is `1.10.0`, though active development is focused on v2.0.0-rc, with frequent release candidates. Its key differentiators include providing comprehensive polyfills for Node.js built-in modules and common npm packages, and offering an auto-mocking proxy for APIs that are not natively supported or fully implemented in a target runtime. Unenv provides configurable presets for specific environments like Node, Nodeless, Deno, Cloudflare Workers, and Vercel Edge Functions, allowing seamless integration with popular bundlers such as Rollup, Webpack, Esbuild, and Rspack through alias, inject, and external configurations.
Traffic · last 30 days ↑33% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · HU · 🇩🇪 Germany