Skip to content

Drop-in replacement for console - a cross-environment fix for missing methods.

License

Notifications You must be signed in to change notification settings

KarbitsCode/console

 
 

Repository files navigation

console

Greenkeeper badge NPM downloads NPM version

Drop-in replacement for console - a cross-environment fix for missing methods.

Installation

npm install console --save

And then import it:

// using es modules
import console from 'console'

// common.js
const console = require('console').default

// AMD
// I've forgotten but it should work.

Or use script tags and globals.

<script src="https://unpkg.com/console/umd/console.min.js"></script>

And then grab it off the global like so:

const console = console.default

About

Drop-in replacement for console - a cross-environment fix for missing methods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 51.4%
  • Makefile 48.6%