0.1.1 • Published 3 years ago
working_bee v0.1.1
working_bee
Description
working_bee is a basic package that allows you to debug JS variables with ease. It is inspired by vscode extension Turbo Console Log.
Usage
In order to debug a variable, you can use the next snippet
import { debug } from 'working_bee'
const foo = 'bar'
debug({foo})
The previous code will print your current file name, the line in which debug was called, the name of your variable, and it’s value.
Also, you can print simple strings to mark important points in your code, following the next snippet:
import { debug } from 'working_bee'
debug('Foo')
The previous code will log your current file, the line in which debug was called and the string you send as param.
Contact
I will try to keep this package updated and working properly, so, if you find any bug or wish some feature to be implemented, contact me trough: luisedgarflorescarpinteyro@gmail.com