Preparing for system design interviews?  Try bugzed.com →

babel-plugin-import-glob

JSON →
library 2.0.0 ·javascript
verified Jun 17, 2026

Babel plugin that enables importing modules using glob patterns, allowing developers to import multiple modules from a directory in a single statement. Current stable version is 2.0.0, released with breaking changes: the glob: prefix is now optional, patterns must be relative (starting with ./ or ../), and identifiers are generated from the dynamic portions of the pattern. This plugin is tested with Node.js 4+. It supports default member import, namespace import, side-effect import, and member aliasing, but does not support importing the default export. The underlying mechanism uses the 'glob' package for pattern matching and 'identifierfy' for converting match strings to valid JavaScript identifiers. Key differentiators: avoids manual per-module imports, useful for template directories or side-effect modules, but not recommended for general use due to potential maintainability issues.

total hits 19
actors 5 distinct systems
last hit 18d ago human
GPTBot
4
ClaudeBot
3
ByteDance
2
Script
1
Humans
6

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · VN · 🇧🇷 Brazil