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

ep-worklife-webview-1

v1.0.8

Published

home

Downloads

10

Readme

ep-worklife-webview

0:从master拉取新分支开发,本地启动的时候,可以把package.json的版本号修改成1.0.0,提交的时候,注意恢复这个文件 1.在src/components/目录下开发自己的组件 2.将所开发的组件注册到src/index.js 3.在example/views/Home.vue 把自己的组件迁移进去 4. v-model="list.flea_market": 下拉刷新接口是否返回 flea_market 取dest isrefresh: 是否需要刷新列表 5: 这边是要做成切换页面 不刷新,所以记得数据做缓存处理 6: 多语言的使用 6.1 在文件下下创建自己团队的多语言js文件 eg:lang/ep.js, 6.2 注册到lang/il8n.js文件中 import {en as epEn, zh as epZh, tw as epTW} from './ep'; let EN = { epLang:epEn, }; let ZH = { epLang:epZh }; let TW = { epLang:epTW };

  6.3  注册到src/index.js  文件中
       import {en as epEn, zh as epZh, tw as epTW} from './lang/ep';
       // 以对象形式保存lang,便于组合,   补充,  命名方式: 团队Lang
       const langs = {
         epLang: {
           zh: epZh,
           en: epEn,
           tw: epTW,
         },
         lifeLang: {
           zh: lifeZh,
           en: lifeEn
         }
       };

    6.4 使用方式
       $t('epLang.newHome.releasedProducts')

    6.5 获取当前多语言
        localStorage.getItem('EP_lang')

#注意 1 请使用vant的swipe!!!!! 2.vue-awesome-swiper:不要使用:鉴于ep的vue-awesome-swiper的版本过低且依赖framework7的样式 swiperOption: { slidesPerView: 1, on: { // 新版本的vue-awesome-swiper slideChange: function () { console.log(11111111) self.current = this.activeIndex; }, }, onSlideChangeStart: (swiper) => { // 旧版本的vue-awesome-swiper console.log('哈哈哈') this.current = swiper.activeIndex; // this.activeIndex = swiper.activeIndex; // this.progressIndex = swiper.progress; }, },

###存储数据代码 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(), 信息不全会弹窗 让你去不全信息,信息全了,直接跳转,都已经处理。