npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

fe-mitojs

v0.2.8

Published

广联达错误数据监控

Downloads

58

Readme

fe-mitojs

概要

##功能 上报pv uv 捕获error 上报性能performance 上报用户轨迹 统计当前用户ip 统计当前用户操作系统、浏览器版本内核、屏幕尺寸 统计当前页面加载时间 统计当前页面错误用户数 hack ajax fetch 上报加载的资源 hack console hack onpopstate 用法 appKey在http://femonitor.test.m2.com.cn/home申请

##方法一

##方法二 npm i fe-mitojs import Monitor from 'fe-mitojs' new Monitor({ appKey: 'd3b1f6fb75d54254bf373164af8c9ec9', // 项目配置监控上报id }); ##配置 { delay: true,// 是否延时 maxErrorLen: 100,// 最大允许上传错误数量 appKey: 'd3b1f6fb75d54254bf373164af8c9ec9', // 项目配置监控上报id disabled: false,// 是否上报,设置为true则不统计所有 outtime: 10 // 上报数据间隔时长, monitorAssetError: boolean;//是否监控 资源异常 monitorJsError: boolean;//是否监控 JS代码异常 monitorPagePerformance: boolean;//是否监控 页面性能 monitorXhr: boolean;//是否监控 服务请求 } ##备注 fe2e 前端监控,主要监控前端js,vue2、react错误统计日志,h5,小程序,RN目前在开发中~~~