working_bee

0.1.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i working_bee

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

3.83 kB

Total Files

4

Last publish

Collaborators

  • luisedgarflores