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

@molted/cli

v1.22.0

Published

CLI for the Molted Email platform

Readme

@molted/cli

Command-line interface for the Molted Email platform. Handles auth, headers, and tenant ID injection automatically so agents can interact with the API using simple commands instead of raw HTTP calls.

Install

npm install -g @molted/cli

Quick Start

# 1. Create an account (stores credentials automatically)
molted auth signup --name "My Agent" --email [email protected] --password s3cret

# 2. Activate billing (sends are blocked until billing is active)
molted billing setup --plan starter
# → open the returned checkout URL

# 3. Send your first email (interactive mode)
molted send -i

# Or with flags
molted send --to [email protected] --template _default \
  --dedupe-key "welcome-alice-1" --payload '{"subject": "Hello", "html": "Hello from my agent!", "text": "Hello from my agent!"}'

Commands

molted
├── auth signup|login|logout|login-link
│   └── keys list|create|revoke
├── send [-i] --to --template --dedupe-key --payload
│   ├── batch --template --recipients|--stdin
│   ├── simulate --to --template
│   ├── simulate-batch --template --recipients
│   └── propose --to [--context]
├── mailboxes create|list|get|update
├── templates create|list|get|add-version|publish|approve|reject|render
├── threads list|get|reply|update|archive|unarchive|trash|restore|delete|followup
├── domains add|list|get|verify|dns-check|remove
├── contacts list|get|sync
├── billing status|setup
├── budget
├── analytics fatigue|velocity|deliverability|segment-check
├── journeys create|list|get|update|add-step|runs|trigger
├── segments create|list|get|update|archive|compute|members|contact
├── outcomes ingest|list|get|dashboard|journey-impact
├── suppressions add|list|remove|add-domain|list-domains|remove-domain
├── consent record|check
├── safety get|update
├── humanizer get|update
├── classify --subject --body
│   └── batch --emails|--stdin
├── next-action --contact
│   └── batch --contacts|--stdin
├── record-inbound --from --to
├── trace <requestId>
└── timeline <requestId>

Run molted <command> --help for detailed flag info on any command.

Configuration

Credentials are stored in ~/.molted/credentials.json (mode 0600) after signup or login. The CLI resolves settings in this order:

| Setting | Flag | Env var | Credentials file | |---------|------|---------|-----------------| | Base URL | --base-url | MOLTED_BASE_URL | base_url | | API key | — | MOLTED_API_KEY | raw_key | | Config dir | — | MOLTED_CONFIG_DIR | — |

Default base URL: https://api.molted.email

Output

  • Success (exit 0): JSON to stdout
  • Error (exit 1): JSON to stderr

A policy-blocked send returns exit 0 with "status": "blocked" — always check the status field.

Agent Reference

For the full CLI skill reference (all flags, common patterns, error handling), see cli-skill.md.

License

MIT