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

@hcmai/cli

v0.15.6

Published

Official HCM Next CLI for business APIs, tenant delivery, workspaces, and AI agents.

Readme

@hcmai/cli

The official HCM Next command-line interface for business APIs, tenant delivery, workspaces, and AI agents.

Install

npm install --global @hcmai/cli
hcm --version

Node.js 22 or newer is required.

First connection

hcm env add production --endpoint https://hcm.example.com
hcm login https://hcm.example.com --code <one-time-pairing-code>
hcm env current
hcm identity show <identity-alias> --output json

The npm package is public. Application credentials are not included in the package and are stored locally through the HCM login flow. identity show uses that alias's stored token to return the live userId, username, tenantId, and roles without printing the token.

Source and release automation are maintained in CNB.

Project environments

A project env.yaml can declare default and named environments, each with endpoint, frontend, tenant, optional roles, and danger. Legacy three-line files remain supported. --env first matches a project name, then a local slot. Connection provenance is printed to stderr; writes to danger: true environments require --allow-danger. Credentials stay in the local identity store.

Delivery projects

hcm chiron init scaffolds a consultant project: env.yaml, the working directories, and the managed block in AGENTS.md / CLAUDE.md. Skills come from hcm chiron skills sync (targets: codex, claude); the repo-local codex target maintains the skill index in AGENTS.md and mirrors it to an existing CLAUDE.md, so a dual-agent project shares one locked skill tree. Since 0.14.0 the codex target splits that tree by ownership: hcm-skills/sync/ is mirrored from the product (the CLI owns it outright, lockfile included) and hcm-skills/local/ holds the consultant's own skills, which the CLI never writes. Same id on both sides: local/ shadows sync/. The claude target stays flat (.claude/skills/) because Claude Code only discovers one level deep.

Page acceptance is hcm chiron page. It mints the same short-lived hcm open ticket, drives local Chrome/Chromium headless, and writes a non-overwriting PNG under the project's evidence/ directory. At least one --expect-text is mandatory — a login page, an error page and a blank page all produce a screenshot, so "a screenshot exists" is not evidence:

hcm chiron page /dashboard/<id> --env acme-dev --as consultant-acme-dev \
  --expect-text '<dashboard title>' --reject-text '未知组件类型' \
  --out evidence/acme-dev/<date>-dashboard/page.png

Exit code is 0 when the page carries every --expect-text and none of the --reject-text, and 3 when it does not; the screenshot is kept either way so a human can see whether it was a login page, an error page, or a real gap.