npm

bare-debug-log

2.0.0 • Public • Published

bare-debug-log

Simple debug log for JavaScript.

npm i bare-debug-log

Usage

const log = require('bare-debug-log')('foo')

log('hello from foo [%d]', 123)
$ BARE_DEBUG=foo bare index.js
FOO 3245: hello from foo [123]

License

Apache-2.0

Dependencies (1)

Dev Dependencies (1)

Package Sidebar

Install

npm i bare-debug-log

Weekly Downloads

4

Version

2.0.0

License

Apache-2.0

Unpacked Size

12.8 kB

Total Files

4

Last publish

Collaborators

  • mafintosh
  • kasperisager