console

0.7.2 • Public • Published

Console

NPM version NPM downloads

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.7.228,084latest

Version History

VersionDownloads (Last 7 Days)Published
0.7.228,084
0.7.14
0.7.01
0.6.413
0.6.31
0.6.21
0.6.11
0.6.01
0.5.21,197
0.5.14
0.4.94

Package Sidebar

Install

npm i console

Weekly Downloads

29,311

Version

0.7.2

License

MIT

Unpacked Size

13.5 kB

Total Files

8

Last publish

Collaborators

  • coolaj86
  • matthewhudson