0.1.0 • Published 2 months ago

monitoring-tool v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

monitoring-tool

关于 一个轻量级的,可扩展的前端监控工具

上手

将 monitoring-tool 添加到项目中主要有以下方式:

方法一:使用 npm(推荐)

$ npm install monitoring-tool

Import 并初始化后,即可使用。

import monitoringTool from 'monitoring-tool';

new monitoringTool({
    secret: '', // 密钥 必填
});

方法二:使用 CDN 直接插入到 HTML

<script src="https://unpkg.com/monitoring-tool@latest/lib/monitoring-tool.min.js"></script>
<script>
  // monitoringTool 默认会挂载到 `window.monitoringTool` 上
new window.monitoringTool({
    secret: '', // 密钥 必填
});
</script>

可用的 CDN:


0.1.0

2 months ago

0.0.9

9 months ago

0.0.8

1 year ago

0.0.5

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.4

2 years ago

0.0.1

2 years ago