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

sdk_cashier

v1.3.23

Published

> This is SDK_cashier 1.0 which works 小程序、端内、公众号、h5

Downloads

13

Readme

SDK_cashier

介绍

  • 封装了微信支付、小程序支付、微信 h5 支付、支付宝支付、端内支付(微信、支付宝、QQ 钱包、家长代付、一网通支付)的公用方法

项目技术

项目技术:typeScript 构建工具:rollup 代码规范:eslint + prettier docs: docsify.js 测试模块: jest 项目 demo: vue-cli3 脚手架 版本控制: standard-version(版本控制+ CHANGELOG.md)

开发时运行

# 同时运行demo和sdk的开发环境
  yarn dev
# 运行sdk开发环境
  yarn sdk:dev
# 运行demo开发环境
  yarn sdk:dev
  yarn example:dev

测试时运行

# 提交代码到测试机,具体端口在scripts/example:test.sh中设置
  yarn example:test

构建 sdk

  yarn sdk:build

发布 npm 包

# 此步完成构建sdk-》》版本控制,changelog生成--》》推git仓库--》》发布sdk到npm
  npm run release