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

@wps365-open/wps365

v0.2.17

Published

WPS 365 Open Platform CLI — dynamic command surface from OpenAPI specs

Downloads

1,451

Readme


安装

npx 直接运行(推荐)

npx @wps365-open/wps365 --version

全局安装

npm install -g @wps365-open/wps365

wps365 --version

支持平台

| 平台 | 架构 | 目标三元组 | |------|------|-----------| | macOS | Apple Silicon (M1/M2/M3/M4) | aarch64-apple-darwin | | macOS | Intel | x86_64-apple-darwin | | Linux | x86_64 | x86_64-unknown-linux-gnu | | Linux | arm64 | aarch64-unknown-linux-gnu | | Windows | x86_64 | x86_64-pc-windows-gnu | | Windows | arm64 | aarch64-pc-windows-gnu |

安装时会自动选择当前平台对应的预编译二进制,无需手动配置。

快速开始

# 1. 用户授权(Cookie 方式,保存凭证到本地)
wps365 auth cookie-login --wps-sid '你的 wps_sid 值'

# 2. 调用 API
wps365 calendar list-calendars

# 3. 查看所有可用命令
wps365 --help

如何获取 wps_sid:在浏览器中登录 WPS 365,打开开发者工具(F12)→ Application → Cookies,找到 wps_sid 的值。

从源码构建(含内部扩展)

# 构建(当前平台)
BUILD_TAGS=with_extension make build

# 安装到 $GOPATH/bin
BUILD_TAGS=with_extension make install

发布到 npm

# 1. 升版本(自动修改 cmd/wps365-cli/main.go 中的 version)
make bump-patch        # 0.2.0 → 0.2.1

# 2. 构建全平台(自动包含 with_extension)
make build-all

# 3. 预览发布内容
make npm-publish-dry-run

# 4. 正式发布
make npm-publish

License

MIT