Preparing for system design interviews?  Try bugzed.com →

babel-plugin-captains-log

JSON →
library 1.3.2 ·javascript maintenance
verified Jun 17, 2026

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.

total hits 13
actors 4 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
ByteDance
4
Script
1

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany