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

namecom-cli

v0.4.0

Published

Fast, agent-friendly CLI for Name.com DNS & domains (v4 API): JSON output, idempotent record upserts, OS-keychain auth.

Readme

namecom-cli

A fast, agent-friendly command-line tool for Name.com DNS and domains, built on the current v4 API.

  • --json everywhere + a commands introspection command, so AI agents can discover and drive the whole surface
  • Idempotent records set (create-or-update, never duplicate) — the right primitive for automation and IaC
  • Secure auth — credentials live in the macOS Keychain (or a 0600 config file), never in your shell environment
  • Zero native dependencies — just Node 20+ and a few small pure-JS deps (commander, @clack/prompts, picocolors)

Why this exists: the only prior community tool (namedns) has been unmaintained since 2018 and targets Name.com's dead v1 reseller API. namecom-cli uses the current v4 API and is designed to be driven by humans and agents alike.

Install

# one-off
npx namecom-cli --help

# or globally
npm install -g namecom-cli
namecom --help

Install the agent skill

This repo ships a Claude/Codex skill that teaches an agent to drive the CLI. The CLI can install its own skill:

namecom skill install --agent claude-code      # or: --agent codex
namecom skill path                             # prints the bundled SKILL.md for manual/offline install

…or use the official skills CLI directly:

npx skills add hypersocialinc/namecom-cli --skill namecom --agent claude-code

The skill is written to work zero-install — it calls npx namecom-cli when the namecom binary isn't on PATH — so adding only the skill still works.

Authenticate

Create a production API token at https://www.name.com/account/settings/api (you get a username + token), then:

namecom login                                  # prompts for username + token (masked) at a TTY;
                                               # offers to open the token page in your browser
namecom login --user <username> --token <token># or pass them directly / via env

Interactive only for humans. Prompts, spinners, and color appear only when you're at a real terminal. When output is piped, in CI, an agent is driving, or you pass --json, the CLI is fully non-interactive and deterministic — missing inputs become a clean error, never a hung prompt. (namecom and namecom-cli are both valid commands.)

login verifies the credentials, then stores them in your macOS Keychain (namecom_user / namecom_token). You can also just set NAMECOM_USER / NAMECOM_TOKEN in the environment and skip login.

Resolution order on every command: --user/--token flags → env vars → Keychain → ~/.config/namecom/credentials.json.

Usage

namecom whoami                          # verify auth, show domain count
namecom domains list                    # list every domain in the account

namecom records list example.com                 # all records
namecom records list example.com --type TXT      # filter by type
namecom records list example.com --host send     # filter by host

namecom records create example.com --host www --type CNAME --answer example.vercel.app
namecom records update example.com 12345 --ttl 600
namecom records delete example.com 12345

# Idempotent upsert — safe to run repeatedly, never creates duplicates:
namecom records set example.com --host send --type MX \
  --answer feedback-smtp.us-east-1.amazonses.com --priority 10

Add --json to any command for machine-readable output, and --api-url https://api.dev.name.com to target the sandbox.

Real example: verifying a Resend sending domain

namecom records set example.com --host 'resend._domainkey.mail' --type TXT --answer 'p=MIGf...'
namecom records set example.com --host 'send.mail' --type MX --answer 'feedback-smtp.us-east-1.amazonses.com' --priority 10
namecom records set example.com --host 'send.mail' --type TXT --answer 'v=spf1 include:amazonses.com ~all'

For agents

namecom commands         # full command tree as JSON
namecom <cmd> --json     # structured output for any command

@ means the zone apex (root). Hosts are relative to the domain (e.g. host send on example.comsend.example.com).

Notes & non-goals (v1)

  • Scope is DNS records (list/get/create/update/delete/set) and read-only domains list.
  • Not (yet) covered: nameservers, URL forwarding, domain registration/transfer/contacts. The client/ layer is kept separate from commands so these are easy to add.
  • This is an unofficial tool and is not affiliated with Name.com.

License

MIT © Hypersocial, Inc.