Mitojs
A Lite SDK For Monitoring Web and MiniProgram
Install / Use
/learn @mitojs/MitojsREADME
👋 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
<!-- : -->📞 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)
- hangzhou-jobs(web infrastructure、platform architecture etc.)
Related Skills
tmux
346.8kRemote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Writing Hookify Rules
107.6kThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
review-duplication
100.1kUse this skill during code reviews to proactively investigate the codebase for duplicated functionality, reinvented wheels, or failure to reuse existing project best practices and shared utilities.
diffs
346.8kUse the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
