cross-console-x

4.1.2 • Public • Published

Travis status Dependency status devDependency status npm version jsDelivr hits bettercodehub score Coverage Status

cross-console-x

A cross-environment fix for missing methods.

module.exports

The cross-console-x object provides access to the browser's debugging console (e.g., the Web Console in Firefox). The specifics of how it works vary from browser to browser, but there is a de facto set of features that are typically provided.

Missing methods are shimmed when possible, otherwise they provide no operation.

Additional stamp() method provided. A thin wrapper to any method that prepends a timestamp.

Kind: Exported member
See: https://developer.mozilla.org/en/docs/Web/API/console
Example

import con from 'cross-console-x';
 
con.log('hi');
con.stamp('log', 'hi');

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.1.20latest

Version History

VersionDownloads (Last 7 Days)Published
4.1.20
4.1.10
4.1.00
4.0.250
4.0.240
4.0.230
4.0.220
4.0.210
4.0.200
4.0.190
4.0.180
4.0.170
4.0.160
4.0.150
4.0.141
4.0.130
4.0.120
4.0.110
4.0.100
4.0.91
4.0.80
4.0.70
4.0.60
4.0.50
4.0.40
4.0.30
4.0.20
4.0.10
4.0.00
3.0.20
3.0.11
3.0.00
2.0.00
1.6.00
1.5.00
1.4.00
1.3.00
1.2.01
1.0.00

Package Sidebar

Install

npm i cross-console-x

Weekly Downloads

4

Version

4.1.2

License

MIT

Unpacked Size

2.08 MB

Total Files

11

Last publish

Collaborators

  • xotic750