https://github.com/mitojs/mitojs
A Lite SDK For Monitoring Web and MiniProgram
https://github.com/mitojs/mitojs
sdk typescript web-monitor
Last synced: 5 months ago
JSON representation
A Lite SDK For Monitoring Web and MiniProgram
- Host: GitHub
- URL: https://github.com/mitojs/mitojs
- Owner: mitojs
- License: mit
- Created: 2021-07-28T09:34:27.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-08-27T08:54:08.000Z (10 months ago)
- Last Synced: 2025-12-30T05:38:11.996Z (6 months ago)
- Topics: sdk, typescript, web-monitor
- Language: TypeScript
- Homepage: https://mitojs.github.io/mito-doc/
- Size: 13.2 MB
- Stars: 493
- Watchers: 2
- Forks: 77
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
A Lightweight SDK For Monitor Web
[](https://www.npmjs.com/package/@mitojs/web)
[](https://github.com/prettier/prettier)
[](https://github.com/mitojs/mitojs/commits/master)
[](https://travis-ci.com/github/mitojs/mitojs)
[](https://codecov.io/gh/mitojs/mitojs)
[](http://npm-stat.com/charts.html?package=@mitojs/browser)
[](https://github.com/mitojs/mitojs/blob/dev/LICENSE)
[中文文档](./README.zh_CN.md)
## 👋 Features
✔️ 🔨 monitor Xhr、Fetch、wx.request
✔️ 🔨 monitor console、wx.console
✔️ 🔨 monitor route change(hashroute、browser route、wx route)
✔️ 🔨 monitor code error、resource load error
✔️ 🔨 monitor click、wx:tab、wx:touchmove
✔️ 👌 rich hooks and options [configuration doc](https://mitojs.github.io/mito-doc/#/sdk/guide/basic-configuration)
✔️ 👌 support web(>= IE8)[@mitojs/browser](https://mitojs.github.io/mito-doc/#/sdk/guide/browser)
✔️ 👌 support framework with Vue3、Vue2.6[@mitojs/vue](https://mitojs.github.io/mito-doc/#/sdk/guide/vue)、React@latest[@mitojs/react](https://mitojs.github.io/mito-doc/#/sdk/guide/react)
✔️ 👌 support native wxmini、uni-app、remax framework etc [@mitojs/wx-mini](https://mitojs.github.io/mito-doc/#/sdk/guide/wx-mini)
## 😎 Get Started
here is [document](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction).Build your first demo in 2 min or less:
### browser
#### 🛠️ Install
```bash
# using npm
npm i @mitojs/browser
# using yarn
yarn add @mitojs/browser
```
#### 🥳 Usage
```typescript
import { init } from '@mitojs/browser'
const MitoInstance = init({
// set debug true to convenient debugger in dev,set false in prod
debug:true,
dsn: 'https://test.com/yourInterface',
maxBreadcrumbs: 100
})
```
more usage info of `@mitojs/browser` [click here](https://mitojs.github.io/mito-doc/#/sdk/guide/browser)
## 🧐 Demo for SDK
**here are some demo for sdk of collecting data**
[react-sdk-demo](https://mitojs.github.io/react-sdk-demo):Use @mitojs/react in react@next
[vue3-sdk-demo](https://mitojs.github.io/vue3-sdk-demo):Use @mitojs/vue in Vue3.x
## 📞 issue&&contact
### issue
welcome to raise issue, you can contact me on wx or email if you have some good suggestion(notes: mitojs)
### Contact
* wx:cjinhuo

* send resume to email:chenjinhuo@bytedance.com
* bytedance introduce:(Hanghou、Beijing、Shanghai、Shenzhen、Guangzhou)
1. [hangzhou-jobs](https://jobs.bytedance.com/experienced/position?keywords=%E5%89%8D%E7%AB%AF&category=6704215862603155720%2C6704215862557018372%2C6704215886108035339%2C6704215888985327886%2C6704215897130666254%2C6704215956018694411%2C6704215957146962184%2C6704215958816295181%2C6704215963966900491%2C6704216109274368264%2C6704216296701036811%2C6704216635923761412%2C6704217321877014787%2C6704219452277262596%2C6704219534724696331%2C6938376045242353957&location=CT_52&project=&type=&job_hot_flag=¤t=1&limit=10)(web infrastructure、platform architecture etc.)