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

@magic-number/client

v0.0.17

Published

魔数客户端(node执行环境)

Downloads

2

Readme

关于魔数

魔数旨在帮助开发人员更为高效的管理测试用例和测试场景,并提供开发环境、单元测试、集成测试等不同阶段的数据接入方案和自动化测试方案。

@magic-number/client

本项目为魔数在node环境下的客户端。

LocalClient用于直接从文件系统的数据访问,不建议直接在项目中使用。

优先使用@magic-number/core中提供的HttpClient访问魔数远程服务器获取数据,HttpClient支持node和浏览器环境,node环境中使用时,传入node-fetch作为其远程数据获取的方法即可;浏览器中可以直接使用window.fetch.bind(window)。

AlipayClient是魔数提供的一个访问支付宝钱包容器的工具类,方便开发者在集成测试阶段控制支付宝钱包。