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

min-bridge

v0.0.20

Published

h5 for app

Downloads

6

Readme

min-bridge

app-h5交互

安装

npm install min-bridge

已有组件列表:

  • mValidate 常用正则校验
  • mFormat 常用过滤器 cookie等
  • mBridge app客户端通讯方法
  • mEvents 事件绑定
  • mLogs 日志上报
  • mScript 动态js引入封装
  • mFetch 接口请求

版本更新说明:

  • 0.0.19 发布日期 2018-03-19 mLogs - 模块修改,只有线上环境才上报数据,各项目key的更改, mBridge 扩展,支持微信环境,title的修改,

  • 0.0.18 发布日期 2018-02-23 Validate - MOBILE_REG、NAME_REG 按需求修改正则,

  • 0.0.17 发布日期 2018-02-07 Format - date 按需求修改,默认不转为东八区时间,只在指定参数后转换

  • 0.0.16 发布日期 2018-02-07 修复Format - date 0.0.15版本的bug

  • 0.0.15 发布日期 2018-02-07 1、 升级 Format - date 方法合并处理(getLocalTime)支持的功能,即添加时区转换 2、getLocalTime 删除该方法,与date 方法合并

  • 0.0.14 1、 getLocalTime 方法函数做兼容处理优化,解决部分时区转换出现bug,不正确的问题

  • 0.0.13 1、更新 mFetch 请求发起时当前时间的获取方式,改为转换成东8区 2、mFormat 添加 getLocalTime 方法函数,用于时间转换

  • 0.0.6 编译 object.assign不转换问题修复