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

@sinosun/lib

v1.2.8

Published

sinosun jsbridge and net toolkit

Downloads

67

Readme

使用

npm i @sinosun/lib

LICENSE

MIT

1.1.8 修改: 打开小应用并返回数据逻辑,由h5处理修改为由app处理 注意:需要更新对应版本app

1.1.9 修改: mPaas离线资源包入口页面重定向到实际地址逻辑 注意:要求所有html页面路径长度与入口页面路径长度需要一致

1.2.0 修改: mPaas下 app执行前后台切换会触发 resume事件 并且没有传递数据 前端拿到这个事件返回为空 需要做兼容处理

1.2.1 修改: pcweb兼容

1.2.2 修改: 后端返回错误依然需要返回结果数据方便前端根据错误展示

1.2.3 修改: bsl 模式开发支持 隧道模式和非隧道模式 - 郑晓春

1.2.4 修改: netApi网络异常处理 网络性错误提示语上抛业务显示 - 缪君

1.2.5 修改:回退reFresh 参数丢失问题 页面回退 参数丢失,把app传入的参数传给业务组件 - 丁锋

1.2.6 修改:暗黑模式支持 根据进入页面识别是暗黑模式,设置appTitleBar样式 - 丁锋

1.2.7 修改:请求中断 不抛错 mpass 抛出启动参数 页面在请求配置项文件需要拼接完整地址,以前是从app拿地址会出问题,现在要从前端拿这样mpass离线包需要 获取启动参数里面地址,需要区分是mpass离线包还是非离线包,需要我们把启动参数传给业务端判断,火狐浏览器 请求中断会抛错,请求封装会把错误抛给前端,需要我们自己过滤这个错误 - 丁锋