babel-plugin-captains-log

JSON →
library 1.3.2 ·javascript maintenance
verified May 27, 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 46
actors 9 distinct systems
last hit 19h ago DotBot
Amazonbot
5
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
Search engines
1
Humans
4

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