babel-plugin-js-logger
JSON →Babel plugin that automatically inserts a logger declaration (via js-logger) at the top of every transpiled JavaScript file, enabling consistent logging across backend and frontend projects. Current stable version: 1.0.17. Maintained as of early 2021, with infrequent updates. Key differentiators: automatic logger instantiation per file, configurable logger name formatting (project/level/separator/extensions), and support for both Babel standalone and Webpack. Alternative to manual logger setup in each file. Note: requires js-logger as a peer dependency and Babel as a build tool.
Traffic · last 30 days ↓57% vs prev 7d
total hits 20
actors 6 distinct systems
last hit 18h ago AhrefsBot
top countries 🇩🇪 Germany · 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇳🇱 Netherlands
Resources
API endpoints
full doc /v1/registry/babel-plugin-js-logger
compatibility /v1/registry/babel-plugin-js-logger/compatibility