infinite-loop-loader
JSON →A webpack loader that transforms infinite loops (e.g., `while(true)`) by injecting an iteration counter and a throw statement when the limit is exceeded. Version 1.0.9 is the latest stable release. It is part of the OpenComponents ecosystem but can be used standalone. The loader uses falafel/acorn to parse and transform JavaScript. Unlike manual linting or AST-based approaches, this provides a runtime safeguard for accidental infinite loops in webpack-bundled code. It supports configuration of the iteration limit and Acorn parser options. The package ships TypeScript definitions.
Traffic · last 30 days ↓77% vs prev 7d
total hits 21
actors 5 distinct systems
last hit 1d ago AhrefsBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇫🇷 France · 🇩🇪 Germany · 🇪🇸 Spain
Resources
API endpoints
full doc /v1/registry/infinite-loop-loader