{"id":13671332,"url":"https://github.com/317482454/errorEruda","last_synced_at":"2025-04-27T14:33:18.904Z","repository":{"id":57226810,"uuid":"94197382","full_name":"317482454/errorEruda","owner":"317482454","description":" 基于ERUDA开发调试发布，错误监控上报，用户问题定位  BASED ON ERUDA DEVELOPMENT AND DEBUGGING, FAULT MONITORING REPORT, THE USER LOCATION PROBLEM.","archived":false,"fork":false,"pushed_at":"2021-08-30T10:49:39.000Z","size":81,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T10:39:15.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jqvue.com/demo/errorEruda/index.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/317482454.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-13T09:49:00.000Z","updated_at":"2021-08-30T10:49:41.000Z","dependencies_parsed_at":"2022-08-24T15:51:36.488Z","dependency_job_id":null,"html_url":"https://github.com/317482454/errorEruda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/317482454%2FerrorEruda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/317482454%2FerrorEruda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/317482454%2FerrorEruda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/317482454%2FerrorEruda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/317482454","download_url":"https://codeload.github.com/317482454/errorEruda/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250901046,"owners_count":21505149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-02T09:01:06.475Z","updated_at":"2025-04-27T14:33:18.103Z","avatar_url":"https://github.com/317482454.png","language":"JavaScript","readme":"## error_eruda\n1kb(gzip)代码搞定开发调试发布，错误监控上报，用户问题定位。\n\n- 支持错误监控和上报\n- 支持 Eruda错误展示\n- 支持开发url拉起Eruda\n- 支持img[src]，script[src]，link[href]请求链接错误监控\n-  支持函数错误捕获\n-  支持XHR请求监控\n-  支持错误浏览器版本号上传\n\n## 安装\n\n    npm i error_eruda -save\n注意：监控请求链接需要在最头部申明\n\n\n     import  errorEruda from 'error_eruda'\n## 使用方法\n\n     errorEruda.config({\n            jsUrl: '//cdn.jsdelivr.net/eruda/1.2.2/eruda.min.js',//eruda地址\n            repUrl: \"http://127.0.0.1:3000/\",//错误上报地址\n            repMsg: 'test',//错误上报msg前缀，一般用于标识业务类型\n            entry: \"#app\"\n        })`\neruda使用cdn,当然也支持下载到本地使用\n\n\n     jsUrl: '/eruda/1.2.2/eruda.min.js',//eruda地址\n传输参数：\nerror：错误信息\nrepMsg：收集系统标识\nbrowser：浏览器版本号\ntype：错误类型（script，link，img，http（XHR请求），TypeError）\nhttpState：状态码（XHR独有）\n\n![image](./demo.png)\n## url启动errorEruda\nurl里带上errorEruda=show 就能显示Console面板。如:\n\n        http://jqvue.com/demo/errorEruda/index.html?errorEruda=show`\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F317482454%2FerrorEruda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F317482454%2FerrorEruda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F317482454%2FerrorEruda/lists"}