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

@nevermined-io/payments-cli

v1.0.3-rc0

Published

CLI for Nevermined Payments SDK

Readme

Nevermined Payments CLI

Official command-line interface for the Nevermined Payments SDK.

Installation

Via npm (global)

npm install -g @nevermined-io/payments-cli

Via npx (no installation)

npx @nevermined-io/payments-cli <command>

From source

git clone https://github.com/nevermined-io/payments
cd payments/cli
yarn install
yarn build
./bin/run.js --help

Quick Start

1. Initialize Configuration

nvm config init

This will prompt you for:

  • Your Nevermined API key
  • Target environment (staging_sandbox, staging_live, sandbox, live)

Configuration is saved to ~/.config/nvm/config.json.

2. List Plans

nvm plans list

3. Get Plan Details

nvm plans get did:nvm:abc123

4. Get X402 Access Token

nvm x402 get-token did:nvm:plan123

Usage

nvm [COMMAND]

TOPICS
  agents   Manage AI agents
  config   Manage CLI configuration
  plans    Manage payment plans
  x402     X402 protocol operations

COMMANDS
  help     Display help for nvm

Configuration

Using Environment Variables

Instead of nvm config init, you can set environment variables:

export NVM_API_KEY=nvm-your-api-key
export NVM_ENVIRONMENT=staging_sandbox

Using Configuration Profiles

Support for multiple profiles:

# Initialize a production profile
nvm config init --profile production

# Use a specific profile
nvm plans list --profile production

# Show all profiles
nvm config show --all

Output Formats

All commands support multiple output formats:

# Table format (default)
nvm plans list

# JSON format
nvm plans list --format json

# Quiet mode (no output, useful for scripts)
nvm plans list --format quiet

Commands

Configuration Commands

  • nvm config init - Initialize CLI configuration
  • nvm config show - Display current configuration
  • nvm config set <key> <value> - Set a configuration value

Plan Commands

  • nvm plans list - List all payment plans
  • nvm plans get <planId> - Get details of a specific plan
  • nvm plans register - Register a new payment plan (see help for options)

Agent Commands

  • nvm agents list - List all AI agents
  • nvm agents get <agentId> - Get details of a specific agent
  • nvm agents register - Register a new AI agent

X402 Commands

  • nvm x402 get-token <planId> - Get an X402 access token for a plan

Examples

Register a Plan and Agent

# Initialize config
nvm config init

# Get X402 token for a plan
nvm x402 get-token did:nvm:abc123 --format json

# Get plan details
nvm plans get did:nvm:abc123

Using JSON Config Files

# Register plan from JSON config
nvm plans register --config plan-config.json

# Register agent from JSON config
nvm agents register did:nvm:plan123 --config agent-config.json

Development

Building

yarn build

Testing

yarn test

Linting

yarn lint

License

Apache-2.0

Links