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

@mayur7685/airkit-cli

v1.0.1

Published

CLI tool for AIR Kit credential application development

Readme

AIR Kit CLI

A comprehensive command-line interface for AIR Kit credential application development.

Features

  • 🚀 Project Scaffolding: Initialize new AIR Kit projects with interactive setup
  • ⚙️ Configuration Management: Manage environment variables and settings
  • 🔐 Key Management: Generate and manage cryptographic keys
  • 🌍 Environment Management: Switch between sandbox, staging, and production
  • 🧪 Testing Tools: Test credential flows and API connectivity
  • 🚀 Deployment Tools: Validate and deploy to multiple platforms
  • 📚 Comprehensive Help: Built-in documentation and troubleshooting guides

Installation

Global Installation (Recommended)

npm install -g @mayur7685/airkit-cli

Local Development

git clone https://github.com/mayur7685/airkit-cli.git
cd airkit-cli
npm install
npm run build
npm link

Quick Start

  1. Create a new project:

    airkit init
  2. Follow the interactive setup wizard to configure your project

  3. Start development:

    cd your-project-name
    airkit dev start

Commands

Project Management

  • airkit init [type] [name] - Initialize a new AIR Kit project
  • airkit validate - Validate CLI installation and functionality

Configuration

  • airkit config init - Initialize configuration files
  • airkit config validate - Validate current configuration
  • airkit config export - Export configuration for deployment

Environment Management

  • airkit env list - List available environments
  • airkit env set <env> - Switch to specified environment
  • airkit env validate - Validate environment configuration

Key Management

  • airkit keys generate - Generate new cryptographic keys
  • airkit keys validate - Validate existing keys
  • airkit keys rotate - Rotate private keys

Testing

  • airkit test issuance - Test credential issuance flow
  • airkit test verification - Test credential verification flow
  • airkit test connectivity - Test API connectivity

Development

  • airkit dev start - Start development server with AIR Kit integration

Deployment

  • airkit deploy validate - Validate production readiness
  • airkit deploy platform --platform <name> - Generate platform-specific configurations
  • airkit deploy guide - Generate comprehensive deployment guide

Help & Documentation

  • airkit help - Show general help
  • airkit help <command> - Show command-specific help
  • airkit help workflow <name> - Show workflow guides
  • airkit help faq - Show frequently asked questions

Project Types

Demo Project

Full-featured application with both credential issuance and verification capabilities.

airkit init demo my-demo-app

Issuer Project

Credential issuance-only application.

airkit init issuer my-issuer-app

Verifier Project

Credential verification-only application.

airkit init verifier my-verifier-app

Custom Project

Minimal setup with manual configuration options.

airkit init custom my-custom-app

Supported Frameworks

  • React + Vite: Fast development with hot reload
  • Next.js: Full-stack React framework with SSR
  • Vanilla JavaScript: Pure JavaScript without frameworks

Deployment Platforms

The CLI supports deployment to multiple platforms:

  • Vercel: Optimized for frontend applications
  • Netlify: JAMstack deployments
  • Docker: Containerized deployments
  • Railway: Simple cloud deployments
  • Render: Full-stack cloud platform
  • AWS: Amazon Web Services
  • Google Cloud: Google Cloud Platform

Configuration

The CLI uses environment variables for configuration:

# Core AIR Kit Configuration
PARTNER_PRIVATE_KEY="your-private-key"
SIGNING_ALGORITHM="ES256"
NEXT_PUBLIC_BUILD_ENV="sandbox"
NEXT_PUBLIC_PARTNER_ID="your-partner-id"

# Feature-specific variables
NEXT_PUBLIC_ISSUER_DID="your-issuer-did"
NEXT_PUBLIC_ISSUE_PROGRAM_ID="your-program-id"
NEXT_PUBLIC_VERIFIER_PROGRAM_ID="your-verifier-id"

Development

Building

# Clean build
npm run build

# Development with watch mode
npm run dev

# Production build
npm run build:prod

Important: Always run npm run build after making changes to TypeScript files before testing the CLI.

Testing

npm test
npm run test:coverage

Linting

npm run lint
npm run lint:fix

Validation

npm run build
airkit validate --full

Troubleshooting

Common Issues

  1. Command not found: Ensure the CLI is properly installed globally
  2. Permission errors: Check file permissions and try with elevated privileges
  3. Network errors: Verify internet connection and AIR Kit service status
  4. Configuration errors: Run airkit config validate to check settings

Getting Help

  • Run airkit help troubleshooting for detailed troubleshooting guide
  • Check the documentation
  • Report issues on GitHub

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Run npm run lint and npm test
  6. Submit a pull request

License

MIT License - see LICENSE file for details.

Support