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

@loomal/cli

v0.1.0

Published

CLI for the Loomal API — identity infrastructure for AI agents

Readme

@loomal/cli

The official CLI for the Loomal API — identity infrastructure for AI agents.

npm License: MIT

Install

npm install -g @loomal/cli

Requires Node.js 18 or later.

Quick Start

# Set your API key
export LOOMAL_API_KEY=your_api_key

# Verify your identity
loomal whoami

Authentication

Pass your API key in one of two ways:

# Environment variable (recommended)
export LOOMAL_API_KEY=your_api_key

# Or per-command flag
loomal whoami --api-key your_api_key

Commands

Identity

loomal whoami                          # Show identity info

Mail

loomal mail send --to [email protected] --subject "Hi" --text "Hello"
loomal mail list [--limit 20] [--labels inbox]
loomal mail get <messageId>
loomal mail reply <messageId> --text "Reply"
loomal mail labels <messageId> --add important
loomal mail delete <messageId>

Threads

loomal threads list [--limit 20]
loomal threads get <threadId>
loomal threads delete <threadId>

Vault

loomal vault list
loomal vault get <name>
loomal vault store <name> --type API_KEY --data '{"key":"sk_..."}'
loomal vault delete <name>
loomal vault totp <name>               # Get TOTP code

Logs

loomal logs list [--category mail] [--status error]
loomal logs stats

DID

loomal did resolve <identityId>        # Resolve DID document
loomal did domain                      # Resolve domain DID

Global Options

| Flag | Description | | --- | --- | | --api-key <key> | API key (or set LOOMAL_API_KEY env var) | | --base-url <url> | API base URL (or set LOOMAL_API_URL env var) | | --json | Output as JSON | | --help | Show help | | --version | Show version |

JSON Output

Most commands support the --json flag for machine-readable output:

loomal whoami --json
loomal mail list --json
loomal vault list --json

Links

License

MIT