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

@meshtest/cli

v0.3.0

Published

Live API testing for the AI era — import OpenAPI/Postman specs, run live regression suites, detect drift against stored baselines

Readme

@meshtest/cli

Live API testing for the AI era — import OpenAPI/Postman specs, run live regression suites, detect drift against stored baselines.

meshtest is a CLI that turns any OpenAPI 3.x spec or Postman v2.1 collection into runnable, source-controlled regression tests against a live API. It auto-detects auth, generates CRUD chains with capture variables, and snapshots responses as baselines so you can diff against future runs.

If you want AI agents (Claude Desktop, Cursor, etc.) to drive this same engine over the Model Context Protocol, install @meshtest/server alongside it.

Install

# global (use the meshtest binary anywhere)
npm install -g @meshtest/cli

# project-local
npm install --save-dev @meshtest/cli
pnpm add -D @meshtest/cli

Node 18+ required.

Quickstart

# 1. Scaffold config, .env.example, and meshtest.auth.yaml
meshtest init

# 2. Import an OpenAPI spec or Postman collection into a runnable manifest
meshtest generate --from openapi ./openapi.yaml -o meshtest.yaml

# 3. Run live tests against your staging API
meshtest run --env staging

# 4. Record a baseline and diff future runs against it
meshtest diff --record
meshtest diff             # next time, fails if responses drifted

What you get

  • Auto-imports — OpenAPI 3.x + Postman v2.1 → ready-to-run YAML manifest
  • Auth auto-detection — bearer, api_key, basic, header, and OAuth2 client-credentials flows extracted from the source spec
  • CRUD capture chains — POST → capture id → use in subsequent GET/PATCH/DELETE
  • Setup/teardown hooks — seed and clean up test data per suite
  • Built-in template varsrun_id, timestamp, iso_date, random_int, random_string
  • Drift detection — store response snapshots, diff future runs, fail CI on unexpected changes
  • Sensitive-data strippingbaseline.strip_on_record redacts secrets before they're written to disk
  • Auto-discovery--all finds every *.meshtest.yaml across configured registries

Example manifest

service:
  name: petstore
  base_url: https://api.petstore.example.com
  auth:
    type: bearer
    token: "${PETSTORE_TOKEN}"

vars:
  user_id: "${USER_ID}"

tests:
  - suite: Pet lifecycle
    tests:
      - name: Create a pet
        method: POST
        path: /pets
        body:
          name: "test-{{ vars.run_id }}"
        expect: { status: 201 }
        capture:
          pet_id: "$.id"

      - name: Get the created pet
        method: GET
        path: /pets/{{ captured.pet_id }}
        expect: { status: 200 }

      - name: Delete the pet
        method: DELETE
        path: /pets/{{ captured.pet_id }}
        expect: { status: 204 }

Documentation

Full reference, guides, and recipes: meshtest-docs.vercel.app

Quick links:

License

See LICENSE. Free for personal, commercial, and internal business use. Source is not redistributed.

— Mukul Kumar · github.com/developerKumar