1.0.0 • Published 6 years ago
babel-plugin-console-with-loc v1.0.0
babel-plugin-console-with-loc
babel plugin for console.log with loc
Install
npm:
$ npm install --save-dev babel-plugin-console-with-loc
yarn:
$ yarn add --dev babel-plugin-console-with-loc
Usage
.babelrc
{
"plugins": ["console-with-loc"]
}
Examples
console.log('hello world');
↓ ↓ ↓ ↓ ↓ ↓
console.log('{\\"start\\":{\\"line\\":1,\\"column\\":0},\\"end\\":{\\"line\\":1,\\"column\\":26}}', 'hello world');
Contributors
Thanks goes to these wonderful people (emoji key):
akameco💻 📖 ⚠️ 🚇 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!
License
MIT © akameco
1.0.0
6 years ago