babel-plugin-captains-log
JSON →A Babel plugin (v1.3.2, last updated July 2020, no recent releases) that automatically injects file name, line/column position, and variable name labels into console.log and other console method calls. Unlike manual logging wrappers, it works at the AST level during build time, supports ignore patterns, custom logger names, and selective method targeting. Requires Babel v6, ESM/CJS compatible, used as a development transform to enhance debugging output in bundled code.
Traffic · last 30 days ↓69% vs prev 7d
total hits 46
actors 9 distinct systems
last hit 19h ago DotBot
top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇫🇷 France
Resources
API endpoints
compatibility /v1/registry/babel-plugin-captains-log/compatibility