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

@postio/cli

v0.1.0

Published

Postio command-line interface — UK address, email, and phone validation from your terminal. `npx postio …`.

Readme

@postio/cli

Postio command-line interface — UK address, email, and phone validation from your terminal.

npx -y @postio/cli address postcode SW1A1AA

Install

# zero-install (recommended for occasional use)
npx -y @postio/cli <command>

# global
npm i -g @postio/cli
postio <command>

Requires Node 20+.

Auth

Set your Postio API key in the environment:

export POSTIO_API_KEY=pk_live_…

Or pass --api-key pk_live_… on each invocation.

Get a key at https://postio.co.uk/dashboard/api-keys.

Usage

postio address search <query>        Free-text address autocomplete
postio address postcode <postcode>   Look up addresses for a postcode
postio address udprn <udprn>         Look up a single address by UDPRN
postio email <address>               Validate an email address
postio phone <number>                Validate a phone number
postio connect                       Smoke-test your API key

Examples

postio connect
postio address postcode SW1A1AA
postio address search "10 downing"
postio address udprn 26280578
postio email [email protected]
postio phone +447700900123

Flags

  • --api-key <key> — Postio API key. Defaults to $POSTIO_API_KEY.
  • --base-url <url> — API base URL. Defaults to $POSTIO_BASE_URL or https://api.postio.co.uk/v1.
  • --max <n> — Max results (search / postcode).
  • --json — Print the raw API envelope (jq-friendly).
  • --quiet — Print only the headline result.
  • --no-color — Disable ANSI colour output (also auto-detected for non-TTY stdout and NO_COLOR).

Stdin streaming

Pass - as the positional argument to stream queries from stdin, one per line:

cat postcodes.txt | postio address postcode -
echo "[email protected]\[email protected]" | postio email -

Exit codes

  • 0 — success
  • 1 — API returned a business / validation error (e.g. address_not_found)
  • 2 — network error, timeout, auth failure, missing API key
  • 64 — bad CLI usage

Useful for shell scripting:

if postio connect --quiet; then
  echo "key works"
fi

Source

https://github.com/postio-uk/postio-integrations/tree/master/packages/cli

Licence

MIT.