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

epipe

v0.0.7

Published

epipe - elabrary http-request pipe for debug or monitor

Downloads

9

Readme

epipe

epipe是一个方便Web项目调试、检测的开源项目;

  • 监听http请求,观察网络web请求、及参数、数据响应

  • 分析网络性能

  • 调试项目、请求改写、转发

  • 自定义路由

安装

npm install epipe -g

使用

    1. 建议用法:在项目目录中建立规则文件epipe-rules.js直接执行命令epipe即可,规则文件参考epipe/epipe-rules.js
    1. 制定规则文件用法、执行命令epipe file=custom-rule.js, 文件相对命令当前目录
    1. 使用规则集合,自由切换

epipe port=8189 mod=fengchao conser

参数说明

  • 使用自定义规则文件

epipe port=8189 mod=fengchao file=fengchao-pipe.js

交互命令

  • 使用交互命令设置参数、可以动态增加服务、加载规则、切换显示方式、改变调试方式
    epipe
    > listen 8188
    > mod fengchao
    > debug true
    > fiddle fengchao
    > include ./rules/fengchao

nirvana / phoenix 用法说明

  • 启动本地开发环境,确定能够正常访问

  • 启动 epipe port=8189 mod=fengchao conser

    • port 表示代理端口
    • mod 表示规则集合 nirvana/ phoenix 通用为fengchao
    • conser 表示进入epipe命令交互方式
  • 配置本地http代理服务器,不要配置https代理

    • http 代理 127.0.0.1 8189
    • 确保'跳过本地地址的代理服务器'
    • 建议用pac方式配置
    • 参考内部代理pac http://uedc.baidu.com/proxy [内部bae不稳定];
    • 改为线上服务http://liandong.org/proxy.pac[稳定线上地址]
    • 联调 fctest配置host为对应服务器IP地址即可
  • 访问任意网站,在epipe命令中输入showlog检查是否显示历史记录

  • 访问nirvana / phoenix 是否能够正常访问及显示log

  • 进入联调模式,在epipe 中输入 debug true

    • 输入info 查看状态信息
    • debug false 退出联调模式