esbuild-plugin-inline-functions
JSON →An esbuild plugin that inlines JavaScript functions annotated with /* @inline */ hints, eliminating function call overhead. Version 0.2.0 (stable, active development). Unlike manual inlining or other tools, it automatically handles imports, dependencies, control flow (early returns, conditionals), variable scoping, and execution order. Supports both regular functions and arrow functions. Includes a /* @pure */ annotation to enable hoisting of duplicate pure function calls. Ships TypeScript declarations. Requires @babel/parser, @babel/traverse, @babel/types as peer dependencies. Works in any esbuild context (e.g., tsup, Vite, pure esbuild).
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 · 🇸🇬 Singapore