npm.io
0.0.2 • Published 6 years ago

yojik

Licence
MIT
Version
0.0.2
Deps
0
Size
5 kB
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

yojik

Simple logging tool. By default, all messages are not shown in the production build (this is determined by the environment of Node).

How?

npm i yojik

...and?

import log from 'yojik';

log('test'); // -> console.log('test')

log('test', 'info'); // -> console.info('test')

log('test', 'info', true); // -> console.info('test'), but this message will be shown in the production build.