Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

console-browserify

Package Overview
Dependencies
0
Maintainers
41
Versions
12
Issues
File Explorer

Advanced tools

console-browserify

Emulate console for all the browsers

    1.2.0latest

Version published
Maintainers
41
Weekly downloads
11,241,466
increased by0.7%

Weekly downloads

Changelog

Source

1.2.0

  • Move to the browserify org.
  • Remove date-now dependency. (@jakepusateri in #10)
  • Fix memory leak in time/timeEnd. (@maxnordlund in #11)

Readme

Source

console-browserify Build Status

Emulate console for all the browsers

Install

You usually do not have to install console-browserify yourself! If your code runs in Node.js, console is built in. If your code runs in the browser, bundlers like browserify or webpack also include the console-browserify module when you do require('console').

But if none of those apply, with npm do:

npm install console-browserify

Usage

var console = require("console") // Or when manually using console-browserify directly: // var console = require("console-browserify") console.log("hello world!")

API

See the Node.js Console docs. console-browserify does not support creating new Console instances and does not support the Inspector-only methods.

Contributing

PRs are very welcome! The main way to contribute to console-browserify is by porting features, bugfixes and tests from Node.js. Ideally, code contributions to this module are copy-pasted from Node.js and transpiled to ES5, rather than reimplemented from scratch. Matching the Node.js code as closely as possible makes maintenance simpler when new changes land in Node.js. This module intends to provide exactly the same API as Node.js, so features that are not available in the core console module will not be accepted. Feature requests should instead be directed at nodejs/node and will be added to this module once they are implemented in Node.js.

If there is a difference in behaviour between Node.js's console module and this module, please open an issue!

Contributors

  • Raynos

License

MIT

FAQs

What is console-browserify?

Emulate console for all the browsers

Is console-browserify popular?

The npm package console-browserify receives a total of 9,743,372 weekly downloads. As such, console-browserify popularity was classified as popular.

Is console-browserify well maintained?

We found that console-browserify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 41 open source maintainers collaborating on the project.

Last updated on 28 Oct 2019

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc