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

@hoodag/sdk

v0.1.1

Published

Resolve .hood names on Robinhood Chain (ENS-standard) — one call, ENSIP-15 name normalization, optional viem helpers.

Downloads

271

Readme

@hoodag/sdk

Resolve .hood names on Robinhood Chain (chain id 4663). ENS-standard, so it behaves like ENS resolution — but every read goes through a single contract, the UniversalResolver, which makes integration a one-liner.

Zero dependencies (uses global fetch, works in the browser and Node 18+). Optional viem helpers are exported if your app already uses viem.

Install

npm install @hoodag/sdk

Usage

import { resolveHood, reverseHood, resolveTextHood } from '@hoodag/sdk';

// Forward: name -> address
const addr = await resolveHood('robin.hood');
// '0x45aa14…'  (or null if unset)

// Reverse: address -> primary name (verified = forward record points back)
const { name, verified } = await reverseHood(addr);
// { name: 'robin.hood', verified: true }

// Text records
const twitter = await resolveTextHood('robin.hood', 'com.twitter');

Every function accepts an optional rpcUrl as the last argument if you run your own node:

await resolveHood('robin.hood', 'https://my-node.example/rpc');

viem helpers

import { createPublicClient, http } from 'viem';
import { HOOD, UNIVERSAL_RESOLVER_ABI } from '@hoodag/sdk';

const client = createPublicClient({ transport: http(HOOD.rpcUrl) });
const addr = await client.readContract({
  address: HOOD.contracts.universalResolver,
  abi: UNIVERSAL_RESOLVER_ABI,
  functionName: 'resolve',
  args: ['robin.hood'],
});

Contracts (Robinhood Chain, id 4663)

| Contract | Address | | --- | --- | | Registry (immutable) | 0x3E717dc89AAF4605b607324329EEeB0a8B3C8A1c | | UniversalResolver | 0xa9ed3C73F522875F18DAa631429125da893D8E53 | | Registrar (.hood NFT) | 0x9a122C54e15B6287c164b90833bcDA6E16520D50 | | Public Resolver | 0x072C7a66a6D52B23274470b86096AFCBF816CA0B | | Registrar Controller | 0x7900b2B8Cc3f0616B18C68AdA7E115A9022Ca04a | | Reverse Registrar | 0x4be6D0379f56404B563afAe17c6b095b1dfcf479 |

License

MIT