SkillAgentSearch skills...

Mitojs

A Lite SDK For Monitoring Web and MiniProgram

Install / Use

/learn @mitojs/Mitojs
About this skill

Quality Score

0/100

Category

Operations

Supported Platforms

Universal

README

<div align="center"> <a href="#" target="_blank"> <img src="https://i.loli.net/2021/07/28/EvPwd4NjVH3tBfO.jpg" alt="mito-logo" height="90"> </a> <p>A Lightweight SDK For Monitor Web</p>

npm version Code style GitHub last commit build status codecov npm downloads license

</div>

中文文档

👋 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

✔️ 👌 support web(>= IE8)@mitojs/browser

✔️ 👌 support framework with Vue3、Vue2.6@mitojs/vue、React@latest@mitojs/react

✔️ 👌 support native wxmini、uni-app、remax framework etc @mitojs/wx-mini

😎 Get Started

here is document.Build your first demo in 2 min or less:

browser

🛠️ Install

# using npm
npm i @mitojs/browser
# using yarn
yarn add @mitojs/browser

🥳 Usage

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

🧐 Demo for SDK

here are some demo for sdk of collecting data

react-sdk-demo:Use @mitojs/react in react@next

vue3-sdk-demo:Use @mitojs/vue in Vue3.x

<!-- ![mito-在线demo](https://tva1.sinaimg.cn/large/008eGmZEly1gmxgn4y1sag315g0m2hdt.gif): -->

📞 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

    <img src="https://tva1.sinaimg.cn/large/008i3skNly1guqs71uy5pj60u50u0ju802.jpg" width="200" height="200"></img>

  • send resume to email:chenjinhuo@bytedance.com

  • bytedance introduce:(Hanghou、Beijing、Shanghai、Shenzhen、Guangzhou)

  1. hangzhou-jobs(web infrastructure、platform architecture etc.)

Related Skills

View on GitHub
GitHub Stars497
CategoryOperations
Updated4d ago
Forks77

Languages

TypeScript

Security Score

100/100

Audited on Mar 30, 2026

No findings