shim-console
v0.1.0
Published
A shim for the global console object. It will do nothing if the console object exists
Downloads
4
Maintainers
Readme
shim-console
A shim for the global console object. It will do nothing if the console object exists
Install
npm i --save shim-console
Usage
// at the entry point of your app
require('shim-console').init();
// now you can just do
// console.log, console.debug, etc
// on environment that don't provide the
// console object (probably only ie9 at this time)