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

@attest-it/cli

v0.10.1

Published

Command-line interface for the attest-it human-gated test attestation system.

Readme

@attest-it/cli

Command-line interface for the attest-it human-gated test attestation system.

Overview

This package provides the CLI for attest-it. Most users should install the attest-it umbrella package instead, which includes this CLI automatically.

Installation

npm install -g @attest-it/cli

Or install the umbrella package:

npm install attest-it

Commands

init

Initialize attest-it configuration in your project:

attest-it init
attest-it init --path .attest-it/config.yaml

status

Show the current status of all attestations:

attest-it status
attest-it status --suite my-suite
attest-it status --json

run

Run tests and create a signed attestation:

attest-it run --suite my-suite
attest-it run --suite my-suite --yes  # Skip confirmation
attest-it run --suite my-suite --no-attest  # Run without attesting

verify

Verify all attestations (for CI):

attest-it verify
attest-it verify --suite my-suite
attest-it verify --strict  # Fail on warnings
attest-it verify --json

prune

Remove stale attestations:

attest-it prune
attest-it prune --dry-run
attest-it prune --keep-days 90

Global Options

All commands support these global options:

| Option | Description | | --------------------- | ------------------- | | -c, --config <path> | Path to config file | | -v, --verbose | Verbose output | | -q, --quiet | Minimal output | | --help | Show help | | --version | Show version |

Exit Codes

| Code | Constant | Meaning | | ---- | ------------ | ----------------------------------- | | 0 | SUCCESS | Operation completed successfully | | 1 | FAILURE | Tests failed or attestation invalid | | 2 | NO_WORK | Nothing needed attestation | | 3 | CONFIG_ERROR | Configuration or validation error | | 4 | CANCELLED | User cancelled the operation | | 5 | MISSING_KEY | Missing required key file |

Programmatic Usage

The CLI can also be used programmatically:

import { program } from '@attest-it/cli'

program.parse(['node', 'attest-it', 'status', '--json'])

Documentation

Requirements

  • Node.js 20+
  • OpenSSL (for key generation and signing)

License

MIT