@tadashi/debug

4.1.2 • Public • Published

debug

NPM version Build Status Coverage Status

Small debugging utility

Install

$ npm i -S @tadashi/debug

API

The API is the same of https://github.com/debug-js/debug
It's just a preset: https://github.com/debug-js/debug#output-streams

Environment Variables

⚠️ Warning

You must set the environment variables DEBUG_PREFIX
Default is: @tadashi

Usage

import * as debug from '../src/debug.js'

// log
debug.log('Apenas um show')

// error
debug.error('Crap!')

// info
debug.info('This is an information')

// warn
debug.warn('Atention!')

Donate ❤️

  • BTC: bc1q7famhuj5f25n6qvlm3sssnymk2qpxrfwpyq7g4

License

MIT © TJ Holowaychuk
MIT © Thiago Lagden

Readme

Keywords

Package Sidebar

Install

npm i @tadashi/debug

Weekly Downloads

3

Version

4.1.2

License

MIT

Unpacked Size

4.28 kB

Total Files

4

Last publish

Collaborators

  • lagden