blunder:现代客户端 JavaScript 错误处理程序

时间:2021-05-31 04:54:47
【文件属性】:
文件名称:blunder:现代客户端 JavaScript 错误处理程序
文件大小:74KB
文件格式:ZIP
更新时间:2021-05-31 04:54:47
javascript error-handler JavaScript 错误 现代客户端 JavaScript 错误处理程序 安装 下载 、 、 版本或通过 NPM 安装: npm install @ryanmorr/blunder 用法 Blunder 提供了在浏览器中增强、分派、捕获和报告 JavaScript 错误的能力。 import { monitor , subscribe , dispatch , report } from '@ryanmorr/blunder' ; // Listen for global runtime errors monitor ( ) ; // Subscribe to be notified when an error is dispatched subscribe ( ( error ) => { // Send the error to the server report ( '/pat
【文件预览】:
blunder-master
----UNLICENSE(1KB)
----.eslintrc(311B)
----.gitattributes(66B)
----rollup.config.js(826B)
----src()
--------exception.js(2KB)
--------bus.js(580B)
--------metadata.js(1KB)
--------stacktrace.js(1KB)
--------report.js(643B)
--------attempt.js(349B)
--------blunder.js(238B)
--------monitor.js(2KB)
----babel.config.js(189B)
----.travis.yml(331B)
----karma.config.js(868B)
----test()
--------specs()
----README.md(6KB)
----dist()
--------blunder.esm.js(9KB)
--------blunder.cjs.js(9KB)
--------blunder.umd.js(8KB)
----.editorconfig(212B)
----.gitignore(509B)
----package-lock.json(177KB)
----package.json(1KB)

网友评论