# mitojs
**Repository Path**: liuxingtian/mitojs
## Basic Information
- **Project Name**: mitojs
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-05-28
- **Last Updated**: 2021-05-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
一款轻量级的收集页面的用户点击行为、路由跳转、接口报错、代码报错、并上报服务端的SDK
[](https://www.npmjs.com/package/@mitojs/web)
[](https://github.com/clouDr-f2e/mitojs/blob/dev/LICENSE)
[](https://github.com/prettier/prettier)
[](https://github.com/clouDr-f2e/mitojs/commits/master)
[](https://travis-ci.com/github/clouDr-f2e/mitojs)
[](https://codecov.io/gh/clouDr-f2e/mitojs)
## 功能
- [x] 🔨监听请求错误
- [x] 🔨console
- [x] 🔨路由跳转
- [x] 🔨代码报错
- [x] 🔨click、wx:tab、touchmove
- [x] 🔨资源加载错误
- [x] 🏅自定义上报错误
- [x] 🚀丰富的hooks与配置项支持可高定制化
- [x] 🌝支持IE8和安卓5以上
- [x] 👌持续迭代与更新
- [x] 完善的浏览器e2e和微信小程序e2e
- [x] 完善的单元测试(77%~coding)
- [x] 支持原生Web [@mitojs/browser](https://github.com/clouDr-f2e/mitojs/tree/master/packages/browser)
- [x] 支持Web框架(Vue3、Vue2、React@Next) [@mitojs/web](https://github.com/clouDr-f2e/mitojs/tree/master/packages/web)
- [x] 支持原生微信小程序、支持uni-app等微信小程序框架 [@mitojs/wx-mini](https://github.com/clouDr-f2e/mitojs/tree/master/packages/wx-mini)
## 迭代~~~
web性能监控SDK [@Chryseis](https://github.com/Chryseis) coding~,预计6月份出第一版
微信小程序性能监控[@zty1205](https://github.com/zty1205) coding~,预计6月份出第一版
## 安装
### web
#### 使用npm
```bash
$ npm i @mitojs/web
```
### 使用yarn
```bash
$ yarn add @mitojs/web
```
#### 使用CDN
```javascript
```
### wx-mini
#### 使用npm
```bash
$ npm i @mitojs/wx-mini
```
### 使用yarn
```bash
$ yarn add @mitojs/wx-mini
```
#### 使用CDN
```javascript
```
## 使用指南
[使用指南](https://github.com/clouDr-f2e/mitojs/blob/master/docs/guide.md)
* [vue接入指南](https://github.com/clouDr-f2e/mitojs/blob/master/docs/guide.md#Vue)
* [react接入指南](https://github.com/clouDr-f2e/mitojs/blob/master/docs/guide.md#react)
* [wx-mini接入指南](https://github.com/clouDr-f2e/mitojs/blob/master/docs/guide.md#微信小程序)
## hooks与配置项
[hooks与配置项](https://github.com/clouDr-f2e/mitojs/blob/master/docs/option.md)
### 示例
[mitojs-在线demo](https://static.91jkys.com/web/mito-vue-demo/#/demo/one)

## 收集信息平台展示
**该SDK能收集哪些信息:下面这些例子给你一一展示:**

[vue-在线示例](https://static.91jkys.com/f2e/mito-error-example/#/errors/1/info)
[react-在线示例](https://static.91jkys.com/f2e/mito-error-example/#/errors/2/info)
[js-在线示例](https://static.91jkys.com/f2e/mito-error-example/#/errors/3/info)
[wx-mini-在线示例](https://static.91jkys.com/f2e/mito-error-example/#/errors/4/info)
## issue
欢迎所有人提`issue`,如果有什么好的建议和问题可以直接联系本人微信(备注mitojs):
