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

web-apis-cli

v1.0.12

Published

A simple web api test framework based on node/express.

Downloads

6

Readme

Web APIs

基于node/express的API测试框架.

A simple web api test framework based on node/express.

Install

npm install web-apis-cli -g

Command

创建一个网站

wa init <name> [title] [port]

name: 网站目录名称

title: 网页标题

port: 接口, 如果需要创建多个接口测试服务, 请指定不同的IP地址以访问

启动网站

wa start

升级网站

wa update

修改端口

wa port <port>

port: 同上

修改标题

wa title <title>

title: 同上

操作管理员

wa admin <action> [username] [password] [userRank]

action: add(添加管理员)、modify(修改管理员)、remove(删除管理员)、login(检验登录)、check(检验UserKey和UserToken)

username: 用户名或者UserKey

password: 密码或者UserToken

userRank: 用户等级

1 顶级管理员(可以添加、删除或者修改任意管理员)

2 超级管理员(可以添加、删除或者修改3级管理员和进行所有的接口操作)

3 普通管理员(可以添加或者修改接口操作)