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

zele

v0.3.14

Published

Gmail CLI — manage email from your terminal

Readme

Install

Multi-account Gmail and Google Calendar client with OAuth2 auth, SQLite cache, and YAML output.

Requires bun:

# install bun (skip if already installed)
curl -fsSL https://bun.sh/install | bash   # macOS/Linux
powershell -c "irm bun.sh/install.ps1|iex" # Windows

# install zele
bun install -g zele

Setup

zele login

Opens a browser for Google OAuth2. Repeat to add more accounts.

zele whoami         # show authenticated accounts
zele logout         # remove credentials

Commands

Mail

zele mail list                    # list recent threads
zele mail search "from:github"   # search with Gmail query syntax
zele mail read <thread-id>       # read a thread
zele mail send                    # send an email
zele mail reply <thread-id>      # reply to a thread
zele mail forward <thread-id>    # forward a thread
zele mail watch                   # watch for new emails (poll)

Mail actions

zele mail star <thread-id>
zele mail unstar <thread-id>
zele mail archive <thread-id>
zele mail trash <thread-id>
zele mail untrash <thread-id>
zele mail read-mark <thread-id>
zele mail unread-mark <thread-id>
zele mail label <thread-id>
zele mail trash-spam

Search query syntax

mail search and mail watch --query use Gmail search operators. mail search sends the query server-side (full Gmail support), while mail watch --query evaluates a subset client-side.

| Operator | Example | Description | |---|---|---| | from: | from:github | Messages from a sender | | to: | to:[email protected] | Messages sent to a recipient | | cc: | cc:[email protected] | Messages where recipient was CC'd | | subject: | subject:invoice | Messages with words in the subject | | is:unread | is:unread | Unread messages | | is:read | is:read | Read messages | | is:starred | is:starred | Starred messages | | has:attachment | has:attachment | Messages with attachments (heuristic in watch) | | - (negate) | -from:noreply | Exclude matching messages | | " " (quotes) | "exact phrase" | Match an exact phrase | | label: | label:work | Messages with a specific label (search only) | | in: | in:sent | Messages in a folder (search only) | | after: | after:2024/01/01 | Messages after a date (search only) | | before: | before:2024/12/31 | Messages before a date (search only) | | newer_than: | newer_than:7d | Messages newer than a period (search only) | | older_than: | older_than:1m | Messages older than a period (search only) | | filename: | filename:pdf | Attachment filename (search only) | | size: / larger: / smaller: | larger:5M | Filter by message size (search only) | | OR | from:a OR from:b | Match either term (search only) | | { } | {from:a from:b} | Group OR terms (search only) |

Combine multiple operators to narrow results:

zele mail search "from:github is:unread newer_than:7d"
zele mail watch --query "from:github has:attachment"

Operators marked (search only) are handled server-side by Gmail and only available in mail search. Using them in mail watch --query prints a warning and skips the operator.

Drafts

zele draft list
zele draft create
zele draft send <draft-id>
zele draft delete <draft-id>

Labels

zele label list
zele label counts
zele label create <name>
zele label delete <label-id>

Calendar

zele cal list                     # list calendars
zele cal events                   # upcoming events
zele cal get <event-id>           # event details
zele cal create                   # create an event
zele cal update <event-id>        # update an event
zele cal delete <event-id>        # delete an event
zele cal respond <event-id>       # accept/decline
zele cal freebusy                 # check availability

Attachments

zele attachment list <thread-id>
zele attachment get <message-id> <attachment-id>

Profile

zele profile                      # show account info

Multi-account

All commands support --account <email> to filter by account. Without it, commands fetch from all accounts and merge results.

Output

All structured data is output as YAML. In TTY mode, keys are colored for readability. Pipe output to other tools for scripting.

License

ISC