vconsole
vConsole =============
Last updated 9 years ago by maiz .
ISC · Original npm · Tarball · package.json
$ npm install vconsole 
SYNC missed versions from official npm registry.

English | 简体中文

vConsole

A lightweight, extendable front-end developer tool for mobile web page.

vConsole is framework-free, you can use it in Vue or React or any other framework application.

Now vConsole is the official debugging tool for WeChat Miniprograms.


Features

  • Logs: console.log|info|error|...
  • Network: XMLHttpRequest, Fetch, sendBeacon
  • Element: HTML elements tree
  • Storage: Cookies, LocalStorage, SessionStorage
  • Execute JS command manually
  • Custom plugins

For details, please see the screenshots below.


Release Notes

Latest version: npm version

Detailed release notes for each version are available on Changelog.


Guide

See Tutorial for more usage details.

For installation, there are 2 primary ways of adding vConsole to a project:

Method 1: Using npm (Recommended)

$ npm install vconsole
import VConsole from 'vconsole';

const vConsole = new VConsole();
// or init with options
const vConsole = new VConsole({ theme: 'dark' });

// call `console` methods as usual
console.log('Hello world');

// remove it when you finish debugging
vConsole.destroy();

Method 2: Using CDN in HTML:

<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
  // VConsole will be exported to `window.VConsole` by default.
  var vConsole = new window.VConsole();
</script>

Available CDN:


Preview

http://wechatfe.github.io/vconsole/demo.html


Screenshots

Overview

<summary>Light theme</summary>

<summary>Dark theme</summary>

Log Panel

<summary>Log styling</summary>

<summary>Command line</summary>

System Panel

<summary>Performance info</summary>

<summary>Output logs to different panel</summary>
console.log('output to Log panel.')
console.log('[system]', 'output to System panel.')

Network Panel

<summary>Request details</summary>

Element Panel

<summary>Realtime HTML elements structure</summary>

Storage Panel

<summary>Add, edit, delete or copy Cookies / LocalStorage / SessionStorage</summary>


Documentation

vConsole:

Custom Plugin:


Third-party Plugins


Feedback

QQ Group: 497430533


License

The MIT License

Current Tags

  • 3.15.1                                ...           latest (a year ago)

64 Versions

  • 3.15.1                                ...           a year ago
  • 3.15.0                                ...           2 years ago
  • 3.14.7                                ...           2 years ago
  • 3.14.6                                ...           3 years ago
  • 3.14.5                                ...           3 years ago
  • 3.14.4                                ...           3 years ago
  • 3.14.3                                ...           3 years ago
  • 3.14.2                                ...           3 years ago
  • 3.14.1                                ...           3 years ago
  • 3.14.0                                ...           3 years ago
  • 3.13.0                                ...           3 years ago
  • 3.12.1                                ...           3 years ago
  • 3.12.0                                ...           3 years ago
  • 3.11.2                                ...           3 years ago
  • 3.11.1                                ...           3 years ago
  • 3.11.0                                ...           3 years ago
  • 3.10.1                                ...           3 years ago
  • 3.10.0                                ...           3 years ago
  • 3.9.5                                ...           3 years ago
  • 3.9.4                                ...           3 years ago
  • 3.9.3                                ...           3 years ago
  • 3.9.2                                ...           3 years ago
  • 3.9.1                                ...           3 years ago
  • 3.9.0                                ...           3 years ago
  • 3.8.1                                ...           3 years ago
  • 3.8.0                                ...           3 years ago
  • 3.7.0                                ...           3 years ago
  • 3.6.1                                ...           3 years ago
  • 3.6.0                                ...           3 years ago
  • 3.5.2                                ...           4 years ago
  • 3.5.1                                ...           4 years ago
  • 3.5.0                                ...           4 years ago
  • 3.4.1                                ...           4 years ago
  • 3.4.0                                ...           4 years ago
  • 3.3.4                                ...           5 years ago
  • 3.3.3                                ...           5 years ago
  • 3.3.2                                ...           5 years ago
  • 3.3.1                                ...           5 years ago
  • 3.3.0                                ...           6 years ago
  • 3.2.2                                ...           6 years ago
  • 3.2.1                                ...           6 years ago
  • 3.2.0                                ...           7 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.0                                ...           7 years ago
  • 2.5.2                                ...           8 years ago
  • 2.5.1                                ...           8 years ago
  • 2.5.0                                ...           8 years ago
  • 2.4.0                                ...           8 years ago
  • 2.3.1                                ...           8 years ago
  • 2.3.0                                ...           8 years ago
  • 2.2.1                                ...           8 years ago
  • 2.2.0                                ...           8 years ago
  • 2.1.0                                ...           8 years ago
  • 2.0.1                                ...           8 years ago
  • 2.0.0                                ...           8 years ago
  • 1.3.0                                ...           8 years ago
  • 1.2.1                                ...           8 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.5                                ...           9 years ago
  • 1.0.4                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 267,357
Today 2
This Week 24
This Month 229
Last Day 8
Last Week 93
Last Month 66,507
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE