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 🙏

© 2025 – Pkg Stats / Ryan Hefner

worklife-webview-ep

v1.0.9

Published

home

Downloads

15

Readme

0: 从master拉取新分支开发,本地启动的时候,可以把package.json的版本号修改成1.0.0,提交的时候,注意恢复这个文件

  1. 在src/components/目录下开发自己的组件
  2. 将所开发的组件,多语言,vuex注册到src/index.js
  3. example文件夹是 查看你插件的例子的 : 4: 这边是要做成切换页面 不刷新,所以记得数据做缓存处理 推荐vuex 5: 多语言的使用 5.1 $t('EPLang.title') 5.5 获取当前多语言 localStorage.getItem('EP_lang') 6: 注意本项目的ui插件是vant,推荐

7: 注意组件的写法 7.1: props:['value', 'isrefresh'] 必传 7.2 watch: { value(newValue) { newValue ? '' : this.init(); (init方法是 初始化你这个组件的一系列接口等) } },

7.3  created() {
        if (this.isrefresh) {
          this.init();    (init方法是 初始化你这个组件的一系列接口等)
        }
      },


7.4   if (!this.value) {    (这段代码请添加在,当你init方法中接口请求返回后中,确保给我一个回馈,下拉刷新后,你的接口已经返回了)
          this.$emit('input', true)
      }

9: iconfont之类的请放在public文件下 使用的时候在index.html中引入 注意写法拼接自己团队的名字 LIFEIconfont.css font-family: "LIFE_iconfont"

###存储数据代码 localStorage.EP_browser='ios'; localStorage.EP_login_client_code='bayertest'; localStorage.EP_user_company_client_code='bayertest'; localStorage.EP_user_login_open_id='5db92c961269d2bcf84a2b0c'; localStorage.EP_token='eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJiYXllcnRlc3QtdGVzdC5lY29zYWFzLmNvbSIsImlhdCI6MTU5NTkyNDYxOCwibmJmIjoxNTk1OTI0NjE4LCJleHAiOjE1OTY1Mjk0MTgsIm9wZW5faWQiOiI1ZGI5MmM5NjEyNjlkMmJjZjg0YTJiMGMiLCJkYXRhIjp7InVzZXIiOnt9fSwiY2xpZW50X2NvZGUiOiJiYXllcnRlc3QifQ.DIXEHAZlI6DIk_MJS-GcQ5PSgQIVClMRbqicCDKZa3Y'; localStorage.EP_lang='tw'; localStorage.EP_emp_source_id='10367931'; localStorage.environment='TEST'; localStorage.UUA_token='eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ7XCJlbWFpbFwiOlwiSWtlLkxpQUBjZHBncm91cGx0ZC5jb21cIixcImlkTnVtYmVyXCI6XCI2MTA1ODExOTk4MTAxMDAzMTFcIixcImxvY2FsZVwiOlwiemhfQ05cIixcIm91SWRcIjoxNjc1NzQsXCJwZXJzb25JZFwiOlwiNWRiOTJjOTYxMjY5ZDJiY2Y4NGEyYjBjXCIsXCJwaG9uZVwiOlwiMTM2NDM0NzM1OTZcIixcInRlbmFudENvZGVcIjpcImJheWVydGVzdFwiLFwidGVuYW50SWRcIjpcIjM3MWU5MTMwLTBlNDQtNGMzMC1hZGE3LWE1ZmMyZDFiNzc2N1wiLFwidXNlcklkXCI6XCI1ZGI5MmM5NjEyNjlkMmJjZjg0YTJiMGNcIixcInVzZXJuYW1lXCI6XCJHTElKRVwifSIsImF1dGgiOiJST0xFX0VNUCxST0xFX0hSIiwiZXhwIjoxNTk3OTE1ODg3fQ.1DvVTRbEHnZgOo9KH3XgOKzWsevxrF_kxabIg2XLETkcFRKpqCQs_L_x4GJkBy-wgVDd1TdvKhl73sr4jPGC8Q'; localStorage.EP_dep_source_id='72050653'; localStorage.loglevel='webpack-dev-server SILENT'; localStorage.emp_source_id='10367931'; localStorage.EP_theme_color='';

BGY props方式引入getGreenAlert 这是个方法 ,直接getGreenAlert(), 信息不全会弹窗 让你去不全信息,信息全了,直接跳转,都已经处理。