Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


1KB js library contains development debugging, error monitoring and reporting, user problem localization features - 1KB代码搞定开发调试发布,错误监控上报,用户问题定位

Subscribe to updates I use AlloyLever

Statistics on AlloyLever

Number of watchers on Github 876
Number of open issues 14
Average time to close an issue about 2 hours
Main language JavaScript
Average time to merge a PR about 14 hours
Open pull requests 0+
Closed pull requests 1+
Last commit about 2 years ago
Repo Created almost 4 years ago
Repo Last Updated almost 2 years ago
Size 650 KB
Homepage https://alloyteam...
Organization / Authoralloyteam
Page Updated
Do you use AlloyLever? Leave a review!
View open issues (14)
View AlloyLever activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating AlloyLever for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

| English




npm install alloylever


    cdn:'//',  //vconsoleCDN
    reportUrl: "//",  //
  reportPrefix: 'qun',   //msg
    reportKey: 'msg',        //msgkeymsg
    otherReport: {              //
        uin: 491862102
    entry:"#entry"          //DOM6vConsole//AlloyLever.entry('#entry2')

AlloyLeverwindow.onerrorreportUrlvConsole CDN://


AlloyLeverurl vconsole=show vConsole:



  • vconsole=showurl


English |


1kb(gzip) js library contains development debugging, error monitoring and reporting, user problem localization features.

  • support error monitoring and reporting
  • support for vConsole error display
  • support the development phase by using vConsole
  • support the production environment authorities to pull vConsole
  • support DOM evokes vConsole
  • supports url evokes vConsole

There are two purposes for URL parameter arousal, the first is to display the vConsole panel during the website development process, and the second is to send a complaint to the feedback site. The wrong user displays the vConsole panel for locating errors.


npm install alloylever

or include this in your html:

<script src=""></script>


    cdn:'//',  //vconsole CDN address
    reportUrl: "//",  //Error reporting address
    reportPrefix: 'qun',    //An error reporting msg prefix is generally used to differentiate business types
    reportKey: 'msg',        //Error reporting msg prefix key, user reporting system receives storage msg
    otherReport: {              //Other information to be reported
        uin: 491862102
    entry:"#entry"          //Please click on this DOM element to summon vConsole 6 times. You can use AlloyLever.entry('#entry2') add more entry

AlloyLever will listen to window.onerror and save the error information, and report to reportUrl, you can also call vConsole and display errors and related logs.

URL evokes vConsole

As long as your page references AlloyLever, you simply display the vConsole panel with the vconsole=show in your url. Such as:

//load and display the log panel
//load but don't display the log panel
//don't load vConsole

The role of these URL is well understood:

  • development phase for debugging
  • open the URL with vconsole=show to the user who has complained



This content is released under the MIT License.

AlloyLever open issues Ask a question     (View All Issues)
  • over 3 years 能否像vConsole.js一样 添加一个运行js脚本的功能?
  • over 3 years 文件引用位置:Cannot read properties 'querySelectorAll' of null 解决办法
  • over 3 years 这个和vConsole.js有什么区别
  • over 3 years 不能在head里面引入,和KISSY冲突
  • over 3 years Powered By Nuclear 能去掉吗?
  • almost 4 years Error: Uncaught InvalidStateError
  • almost 4 years 最近产能很足呀~
AlloyLever list of languages used
Other projects in JavaScript