{"id":22489496,"url":"https://github.com/mitojs/mitojs","last_synced_at":"2026-01-12T02:20:54.856Z","repository":{"id":41154673,"uuid":"390294340","full_name":"mitojs/mitojs","owner":"mitojs","description":"A Lite SDK For Monitoring Web and MiniProgram","archived":false,"fork":false,"pushed_at":"2025-08-27T08:54:08.000Z","size":13819,"stargazers_count":493,"open_issues_count":8,"forks_count":77,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-30T05:38:11.996Z","etag":null,"topics":["sdk","typescript","web-monitor"],"latest_commit_sha":null,"homepage":"https://mitojs.github.io/mito-doc/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitojs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-07-28T09:34:27.000Z","updated_at":"2025-12-26T10:20:54.000Z","dependencies_parsed_at":"2025-08-27T10:28:11.895Z","dependency_job_id":"64513d30-910c-4534-bf8b-e71993ac5f32","html_url":"https://github.com/mitojs/mitojs","commit_stats":{"total_commits":192,"total_committers":5,"mean_commits":38.4,"dds":0.05729166666666663,"last_synced_commit":"fe148ce7f52c83544b2674087f73ca2ffcd33dfc"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mitojs/mitojs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitojs%2Fmitojs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitojs%2Fmitojs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitojs%2Fmitojs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitojs%2Fmitojs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitojs","download_url":"https://codeload.github.com/mitojs/mitojs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitojs%2Fmitojs/sbom","scorecard":{"id":650450,"data":{"date":"2025-08-11","repo":{"name":"github.com/mitojs/mitojs","commit":"d75019075c46f93b5adbf52101dbde34698e58bd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/22 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel permissions set to 'read-all': .github/workflows/codesee-arch-diagram.yml:12","Warn: no topLevel permission defined: .github/workflows/size-limit.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/codesee-arch-diagram.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/mitojs/mitojs/codesee-arch-diagram.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/size-limit.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/mitojs/mitojs/size-limit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/size-limit.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/mitojs/mitojs/size-limit.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/size-limit.yml:16","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"32 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-w7q9-p3jq-fmhm","Warn: Project is vulnerable to: GHSA-xvf7-4v9q-58w6","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-x565-32qp-m3vf","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-qgmg-gppg-76g5","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T13:23:10.982Z","repository_id":41154673,"created_at":"2025-08-21T13:23:10.982Z","updated_at":"2025-08-21T13:23:10.982Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28332010,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"online","status_checked_at":"2026-01-12T02:00:08.677Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sdk","typescript","web-monitor"],"created_at":"2024-12-06T17:19:58.914Z","updated_at":"2026-01-12T02:20:54.836Z","avatar_url":"https://github.com/mitojs.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"#\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://i.loli.net/2021/07/28/EvPwd4NjVH3tBfO.jpg\" alt=\"mito-logo\" height=\"90\"\u003e\n    \u003c/a\u003e\n    \u003cp\u003eA Lightweight SDK For Monitor Web\u003c/p\u003e\n\n[![npm version](https://img.shields.io/npm/v/@mitojs/web.svg?style=flat)](https://www.npmjs.com/package/@mitojs/web)\n[![Code style](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat)](https://github.com/prettier/prettier)\n[![GitHub last commit](https://img.shields.io/github/last-commit/mitojs/mitojs.svg?style=flat)](https://github.com/mitojs/mitojs/commits/master)\n[![build status](https://img.shields.io/travis/mitojs/mitojs/master.svg?style=flat)](https://travis-ci.com/github/mitojs/mitojs)\n[![codecov](https://codecov.io/gh/mitojs/mitojs/branch/master/graph/badge.svg?token=W7JP5GDOM7)](https://codecov.io/gh/mitojs/mitojs)\n[![npm downloads](https://img.shields.io/npm/dm/@mitojs/core.svg?style=flat)](http://npm-stat.com/charts.html?package=@mitojs/browser)\n[![license](https://img.shields.io/github/license/mitojs/mitojs?style=flat)](https://github.com/mitojs/mitojs/blob/dev/LICENSE)\n\n\u003c/div\u003e\n\n[中文文档](./README.zh_CN.md)\n\n\n## 👋 Features\n\n✔️ 🔨 monitor Xhr、Fetch、wx.request\n\n✔️ 🔨 monitor console、wx.console\n\n✔️ 🔨 monitor route change(hashroute、browser route、wx route)\n\n✔️ 🔨 monitor code error、resource load error\n\n✔️ 🔨 monitor click、wx:tab、wx:touchmove\n\n✔️ 👌 rich hooks and options [configuration doc](https://mitojs.github.io/mito-doc/#/sdk/guide/basic-configuration)\n\n✔️ 👌 support web(\u003e= IE8)[@mitojs/browser](https://mitojs.github.io/mito-doc/#/sdk/guide/browser)\n\n✔️ 👌 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)\n\n✔️ 👌 support native wxmini、uni-app、remax framework etc [@mitojs/wx-mini](https://mitojs.github.io/mito-doc/#/sdk/guide/wx-mini)\n\n## 😎 Get Started\n\nhere is [document](https://mitojs.github.io/mito-doc/#/sdk/guide/introduction).Build your first demo in 2 min or less:\n\n### browser\n#### 🛠️ Install\n```bash\n# using npm\nnpm i @mitojs/browser\n# using yarn\nyarn add @mitojs/browser\n```\n\n#### 🥳 Usage\n```typescript\nimport { init } from '@mitojs/browser'\n\nconst MitoInstance = init({\n  // set debug true to convenient debugger in dev,set false in prod\n  debug:true,\n  dsn: 'https://test.com/yourInterface',\n  maxBreadcrumbs: 100\n})\n```\n\nmore usage info of `@mitojs/browser` [click here](https://mitojs.github.io/mito-doc/#/sdk/guide/browser)\n\n\n## 🧐 Demo for SDK\n\n**here are some demo for sdk of collecting data**\n\n[react-sdk-demo](https://mitojs.github.io/react-sdk-demo):Use @mitojs/react  in react@next\n\n[vue3-sdk-demo](https://mitojs.github.io/vue3-sdk-demo):Use @mitojs/vue in Vue3.x\n\n\u003c!-- ![mito-在线demo](https://tva1.sinaimg.cn/large/008eGmZEly1gmxgn4y1sag315g0m2hdt.gif)： --\u003e\n\n## 📞 issue\u0026\u0026contact\n### issue\nwelcome to raise issue, you can contact me on wx or email if you have some good suggestion(notes: mitojs)\n### Contact\n* wx：cjinhuo\n\n  \u003cimg src=\"https://tva1.sinaimg.cn/large/008i3skNly1guqs71uy5pj60u50u0ju802.jpg\" width=\"200\" height=\"200\"\u003e\u003c/img\u003e\n\n* send resume to email：chenjinhuo@bytedance.com\n* bytedance introduce：(Hanghou、Beijing、Shanghai、Shenzhen、Guangzhou)\n1. [hangzhou-jobs](https://jobs.bytedance.com/experienced/position?keywords=%E5%89%8D%E7%AB%AF\u0026category=6704215862603155720%2C6704215862557018372%2C6704215886108035339%2C6704215888985327886%2C6704215897130666254%2C6704215956018694411%2C6704215957146962184%2C6704215958816295181%2C6704215963966900491%2C6704216109274368264%2C6704216296701036811%2C6704216635923761412%2C6704217321877014787%2C6704219452277262596%2C6704219534724696331%2C6938376045242353957\u0026location=CT_52\u0026project=\u0026type=\u0026job_hot_flag=\u0026current=1\u0026limit=10)（web infrastructure、platform architecture etc.）\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitojs%2Fmitojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitojs%2Fmitojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitojs%2Fmitojs/lists"}