{"library":"babel-plugin-js-logger","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.0.17","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-js-logger","imports":["// Add 'js-logger' to .babelrc plugins array: { \"plugins\": [\"js-logger\"] }","import 'js-logger'; // or const Logger = require('js-logger');","const logger = Logger.get('my:name');"]},{"cmd":"yarn add babel-plugin-js-logger","imports":[]},{"cmd":"pnpm add babel-plugin-js-logger","imports":[]}],"homepage":null,"github":"https://github.com/core-process/babel-plugin-js-logger","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-js-logger","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-js-logger/compatibility"}}