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

any-mock

v1.0.15

Published

集成rap和anyproxy,对于rap的支持暂缓(要先支持内部接口平台),目前可以把它当成一个anyproxy的UI。

Downloads

26

Readme

anymock

npm

她是一个本地的代理工具。 她也是接口管理平台的客户端,可以根据接口管理平台服务端的接口定义选择性的代理本机请求。 她还是一个接口运行环境的模拟器。

她只是让anyproxy、RAP(或自研的接口管理平台)、mockjs使用起来更简单。集成一些事半功倍的功能,程序员也想有喝咖啡的时间。

使用

安装

  • 安装 nodeJS
  • npm install -g any-mock,如出现权限问题,请自觉使用sudo npm install -g any-mock

启动服务

  • 打开终端, anymock start

进入控制台

  • 访问 http://127.0.0.1:8010
  • 配置接口管理服务端 ——> 设置选择代理项目 ——> 下载接口配置
  • 启动代理服务

配置客户端代理

关于HTTP代理:https://imququ.com/post/web-proxy.html 手机http代理设置:baidu google_hk

TODO:

  • 把对资源(html/css/js)的拦截独立出来,方便页面文件的本地替换(调试线上页面很重要)
  • 完善README和user-guide
  • 引入redux,immutable
  • 加入按需加载
  • 开发模式加入dll

依赖项目

  • anyproxy:本地代理工具
  • RAP:接口管理平台
  • mockjs:模拟数据生成
  • eruda:手机中的页面控制台