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

@ali-ieu/big-eye

v2.0.3

Published

@ali-ieu/big-eye

Downloads

29

Readme

How To Use

页面初始化时使用。

import { BigEye, BrowserLogger } from '@ali-ieu/ieu-js-sdk';

BigEye({
  targetId: "app", // 监听对象的id,一般为根节点的id
  envFlag: process.env.NODE_ENV, // 开发环境默认为'development',其余都认为是线上监控环境
  // ARMS的必配参数
  loggerConfig: {
    pid: "your app pid of arms",
    release: "1.0.0",
    c1: "test_1102", //命名规范: activityName_上线月份日期。举个例子川流活动页4月30日发布:chuanliu_0430
  },
});

Features

大图检测

移动端短边超过 750(750x1334)的图片都被认为危险。线上:监控上报到 ARMS;本地开发:图片进行颠倒或高亮处理,提醒开发同学更改。

支持配置绝对信任标志,请谨慎使用,在节点处添加属性mmtrust="true"

<!-- img标签 -->
<img
      @click="show2Pic = true"
      height="300px"
      src="@/public/imgs/person4.png"
      mmtrust="true"
    	/>

<!-- background背景图 -->
<div v-if="show2Pic" class="img-test" mmtrust="true"></div>

内嵌ARMS

import { BigEye, BrowserLogger  } from '@ali-ieu/ieu-js-sdk';

BrowserLogger.api(api, success, time, code, msg, begin, traceId, sid)

BrowserLogger相当于官方文档中的__bl。更多使用请参考ARMS官方文档https://help.aliyun.com/document_detail/58657.html 。

License

ISC license