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

@ai-ecoverse/wasi-dig

v0.1.0-4

Published

dig for slicc WASI: DNS over HTTPS through the realm proxy and DNS over TCP, with dig-style output

Readme

@ai-ecoverse/wasi-dig

dig for slicc's kernel: DNS lookups with dig's output, as a WASI command (wasm32-wasip1). Source and recipe: homescoop/packages/wasi-dig.

slicc's kernel has no UDP, so queries go another way:

| server | transport | | --- | --- | | none | DNS over HTTPS (RFC 8484) to $DIG_DOH_URL, else https://cloudflare-dns.com/dns-query, through the realm proxy | | @https://host/path, +https=URL | DNS over HTTPS to that endpoint | | @host (-p port) | DNS over TCP to host:53, e.g. a tailnet resolver (@100.100.100.100) through the uplink |

dig example.com
dig +short mx example.com
dig -x 1.1.1.1 +short
dig +noall +answer txt example.com
dig @https://1.1.1.1/dns-query example.com AAAA
dig +short dnskey cloudflare.com
dig https cloudflare.com
dig @100.100.100.100 my-host.tailnet.ts.net

In a browser, the realm proxy can reach only DoH endpoints that allow cross-origin requests. cloudflare-dns.com and 1.1.1.1 do; dns.google doesn't, and dig reports HTTP 502 with a hint. A 502 from cloudflare-dns.com or 1.1.1.1 means the network or the proxy failed, and dig says so.

Types: every mnemonic BIND knows, and TYPEnnn. Records print as BIND's dig prints them: its columns, DNSSEC records (DNSKEY, DS, RRSIG, NSEC, NSEC3, NSEC3PARAM) in RFC 4034 presentation format, HTTPS/SVCB with BIND's SvcParams and unknown types as RFC 3597's \# <length> <hex>. Options: +short, +[no]all, +[no]cmd, +[no]comments, +[no]question, +[no]answer, +[no]authority, +[no]additional, +[no]stats, +[no]recurse, +[no]edns, +[no]dnssec, +[no]adflag (on by default, as in dig), +[no]cdflag, +[no]crypto, +time=N, +tries=N, +tcp. +notcp is refused (no UDP).

Exit status: 0 with an answer (NXDOMAIN included), 1 for a usage error, 9 when no server answers.

Not dig: no UDP, no -f batch files, no +trace, no TSIG, no zone transfers. Licences of the linked crates, Rust's standard library and wasi-libc are in THIRD-PARTY-NOTICES.md.