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

@suiyongsuiqi/sysq-cli

v0.1.0

Published

Official agent-first CLI for SYSQ mailbox automation.

Readme

@suiyongsuiqi/sysq-cli

Official agent-first CLI for SYSQ mailbox automation.

Install

Install from npm:

npm i -g @suiyongsuiqi/sysq-cli
sysq --help

Or run without installing globally:

npx @suiyongsuiqi/sysq-cli --help

Build from source:

git clone https://github.com/suiyongsuiqi/sysq-cli.git
cd sysq-cli
pnpm install
pnpm build
node dist/cli.js --help

Design

This CLI is optimized for agents and scripts first.

  • Use explicit commands, not natural-language prompts.
  • Use --json for stable machine-readable output.
  • Use --yes for destructive commands in non-interactive flows.
  • Treat stdout as success output and stderr as human-readable error output.

Get Credentials

If you are using the official hosted SYSQ service:

  1. Visit https://suiyongsuiqi.com/.
  2. Register an account.
  3. Sign in to your account.
  4. Open Console -> API Keys.
  5. Create or copy an API key from that page.

For the hosted service, use:

  • SYSQ_BASE_URL=https://suiyongsuiqi.com/api
  • SYSQ_API_KEY=<your API key from Console -> API Keys>

Configuration

The CLI reads configuration from flags or environment variables.

| Option | Environment Variable | Required | | --- | --- | --- | | --base-url | SYSQ_BASE_URL | Yes | | --api-key | SYSQ_API_KEY | Yes | | --json | N/A | No | | --yes | N/A | No |

Example:

export SYSQ_BASE_URL="https://suiyongsuiqi.com/api"
export SYSQ_API_KEY="ak-xxxxxxxx"

If you are self-hosting SYSQ, replace SYSQ_BASE_URL with your own deployment URL.

The CLI always sends the platform-required header Tenant-Id: 000000. SYSQ backend responses are keyed by errorKey, and localization is handled client-side, so the CLI does not expose a locale override.

Commands

Mailbox asset commands:

  • sysq mailbox list
  • sysq mailbox remove <mailboxId>
  • sysq mailbox remove-batch [mailboxIds...] --file <path>
  • sysq mailbox buy --prefix <prefix> [--suffix <suffix>]
  • sysq mailbox buy-random [--suffix <suffix>] [--count <n>]
  • sysq mailbox buy-batch --file <path>
  • sysq mailbox bind --target-user-id <id> (--mailbox-id <id> | --full-address <address>)

Mail reading commands:

  • sysq mail unread-summary
  • sysq mail unread-list
  • sysq mail messages --mailbox-id <id> [--current <n>] [--size <n>] [--after-id <id>]
  • sysq mail mark-read --mailbox-id <id> --message-id <id> [...]

JSON Contract

Successful --json output is wrapped in a stable envelope:

{
  "ok": true,
  "data": {},
  "meta": {
    "command": "sysq mailbox list"
  }
}

Failed --json output is also normalized:

{
  "ok": false,
  "error": {
    "type": "biz",
    "errorKey": "mail.box.notFound",
    "message": "Mailbox not found"
  }
}

Exit codes:

  • 0: success
  • 1: remote or business error
  • 2: usage or configuration error
  • 130: cancelled by user

Agent Workflows

List purchased mailboxes:

sysq mailbox list --json

Remove one mailbox in agent mode:

sysq --json --yes mailbox remove 2234567890123456789

Buy one mailbox with a custom prefix:

sysq --json mailbox buy --prefix demo --suffix gmail.com

Pull unread mailboxes, then fetch messages:

sysq --json mail unread-list
sysq --json mail messages --mailbox-id 2234567890123456789 --current 1 --size 20

Mark messages as read:

sysq --json mail mark-read --mailbox-id 2234567890123456789 --message-id 1001 --message-id 1002

Batch File Formats

Batch remove accepts either of these JSON shapes:

["2234567890123456789", "2234567890123456790"]
{
  "mailBoxIds": ["2234567890123456789", "2234567890123456790"]
}

Batch buy accepts either of these JSON shapes:

[
  { "prefix": "demo1", "suffix": "gmail.com" },
  { "prefix": "demo2", "suffix": "outlook.com" }
]
{
  "items": [
    { "prefix": "demo1", "suffix": "gmail.com" },
    { "prefix": "demo2", "suffix": "outlook.com" }
  ]
}

Development

pnpm install
pnpm build
pnpm typecheck