shim-console

0.1.0 • Public • Published

NPM Version Build Status

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)

License

MIT

Changelog

Changelog

Package Sidebar

Install

npm i shim-console

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • royriojas