Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Drop-in replacement for console - a cross-environment fix for missing methods.
JavaScript
branch: master

README.markdown

Console

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

Installation

Just include the script. The host console object is automagically updated in your environment. No need for new or any other sort of initialization.

Browser

<script src="console.js"></script>

Node.js

Or, if you're using console with Node.js

$ npm [-g] install console

Then require the "console" module:

var console = require("console");
Something went wrong with that request. Please try again.