0.1.0 • Published 9 years ago

shim-console v0.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

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