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 🙏

© 2026 – Pkg Stats / Ryan Hefner

yapi-wfasdfart

v1.10.3

Published

YAPI

Readme

YApi 可视化接口管理平台 (多级目录分支)

体验地址:

https://yapi.feiyanyun.com/
账号:[email protected] 密码:123456

参考图片 (喜欢的老铁求个star)

img


分支介绍

  • fork 官方 api v1.10.2
  • 主要支持多级目录,添加子目录
  • 支持不同层级目录拖拽
  • 支持多级目录搜索

内网部署

  • 需要事先安装 nodejs,mongodb
  • 这里采用不同安装,部署的方式,大体上步骤和官方一样

方式一zip包解压安装
- 1 下载zip包,解压 多级目录包
- 2 切换到 yapi 目录,修改config配置
- 3 切换到 vendors 目录,运行 npm run install-server (初始数据库,有库数据略过)
- 4 node server/app.js 启动(pm2亦可)


方式二 git下载依赖

1.创建工程目录

 mkdir yapi && cd yapi   #或者手动创建目录   
 git clone https://github.com/zybieku/yapi.git vendors --depth=1 

2.修改配置,安装依赖

config.json里面的内容,具体看官方

 #复制完成后请修改相关配置
 cp vendors/config_example.json ./config.json 
  # 指令打开config,或者用鼠标打开
 vi ./config.json 
 npm install --production --registry https://registry.npm.taobao.org
 #安装程序会初始化数据库,管理员账号名可在 config.json 配置
  npm run install-server 

5.启动(也可以使用pm2)

  #启动服务器后,#请访问 127.0.0.1:{config.json配置的端口}
  node server/app.js 
   # linux 后台模式 注意 nohup 与 & exit
  nohup  node server/app.js exit    

常见问题

    1. 依赖报错 一般依赖报错是由于 yapi的很多依赖库版本有点旧 ,需要手动锁定版本
    1. node-sass node-gyp 安装不上 可能是node-gyp没安装
     npm install -g node-gyp
     npm rebuild node-gyp
    1. 没有ykit指令
      npm install -g ykit

方式三 docker容器
待定