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

@sendmux/cli

v1.0.1

Published

[![npm version](https://img.shields.io/npm/v/@sendmux%2Fcli)](https://www.npmjs.com/package/@sendmux/cli) [![CI](https://github.com/Sendmux/sendmux-sdk/actions/workflows/ci.yml/badge.svg)](https://github.com/Sendmux/sendmux-sdk/actions/workflows/ci.yml) [

Readme

@sendmux/cli

npm version CI npm downloads Licence

Agent-drivable command line interface for Sendmux.

Documentation

Requirements

  • npm global installs, npx, or a downloaded release tarball.
  • A root smx_root_* key for Management commands.
  • A mailbox-scoped smx_mbx_* key for Mailbox and Sending commands.

Installation

npm install -g @sendmux/cli

The package exposes the sendmux binary.

Usage

Create profiles for each key type before running API commands.

sendmux profiles:set default --api-key smx_root_... --default
sendmux profiles:set mailbox --api-key smx_mbx_...
sendmux profiles:set sending --api-key smx_mbx_...

Run commands with --json for machine-readable output.

sendmux management:domains:list --profile default --json
sendmux mailbox:messages:list --profile mailbox --query limit=25 --json
sendmux sending:send --profile sending --body '{"from":{"email":"[email protected]"},"to":{"email":"[email protected]"},"subject":"Hello","html_body":"<p>Hello.</p>","text_body":"Hello"}' --json

Commands reject mismatched key types before making a network request.

Commands

The CLI includes 95 generated API operation commands:

  • 40 Mailbox commands, including mailbox:messages:list, mailbox:messages:get, mailbox:send-message, and mailbox:list-granted-mailboxes.
  • 52 Management commands, including management:domains:list, management:create-mailbox, management:get-spend-summary, and management:create-webhook.
  • 3 Sending commands: sending:get-open-api-spec, sending:send, and sending:send:batch.
  • Profile commands: profiles:list, profiles:set, and profiles:show.

Use command-level help for required path, query, header, and body fields.

sendmux management:domains:get --help
sendmux sending:send --help

Global API flags

Operation commands support:

  • --api-key
  • --base-url
  • --profile / -p
  • --body
  • --body-file
  • --header
  • --idempotency-key
  • --if-match
  • --if-none-match
  • --path
  • --query
  • --json

--path, --query, and --header use name=value syntax and can be repeated when the operation accepts multiple values.

Support

Open an issue in Sendmux/sendmux-sdk with the CLI version, command, flags, and request ID from any API error.

Licence

MIT. See the licence file.