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

apx-toolkit

v1.0.4

Published

Automatically discover APIs and generate complete integration packages: code in 12 languages, TypeScript types, test suites, SDK packages, API documentation, mock servers, performance reports, and contract tests. Saves 2-4 weeks of work in seconds.

Readme

APX Toolkit 🚀

Discover APIs. Generate code. Save weeks of work.

npm version License: ISC GitHub stars


⚡ What It Does

APX automatically discovers APIs from any website and generates everything you need:

  • Code in 12 languages (TypeScript, Python, Go, Java, etc.)
  • Documentation (OpenAPI, Postman, cURL, Insomnia)
  • TypeScript types (.d.ts files)
  • Test suites (Jest, pytest, Mocha, etc.)
  • SDK packages (TypeScript, Python, Go)
  • Mock servers (Express.js)
  • Performance reports (k6 load tests)
  • Contract tests (Pact, Schemathesis)
  • Dependency graphs (interactive visualizations)
  • MCP & x402 integrations (AI assistant support)

Result: 2-4 weeks of work → 10 seconds


🚀 Quick Start (30 seconds)

Option 1: Apify Platform (Easiest)

  1. Go to: https://console.apify.com/actors/2eXbQISXqhTnIxWNJ
  2. Click "Start"
  3. Paste this:
    {
      "startUrls": [{"url": "https://example.com"}]
    }
  4. Wait 10-30 seconds → Done! Check the Dataset tab.

Option 2: CLI (Local)

npm install -g apx-toolkit
apx --url https://example.com

📖 How It Works

  1. You provide: A website URL
  2. APX discovers: All APIs the site uses (REST, GraphQL, WebSocket)
  3. APX generates: Complete integration package
  4. You get: Production-ready code, docs, tests, SDKs

That's it! No API specs needed. No manual setup. Just works.


💡 Common Use Cases

Discover APIs from a Website

{
  "startUrls": [{"url": "https://example.com"}],
  "maxPages": 10
}

With Authentication

{
  "startUrls": [{"url": "https://api.example.com"}],
  "bearerToken": "your-token-here"
}

Full Feature Set

{
  "startUrls": [{"url": "https://example.com"}],
  "generateMockServer": true,
  "generatePerformanceBenchmark": true,
  "generateContractTests": true,
  "generateDependencyGraph": true
}

📦 What You Get

Results are organized in 9 dataset views:

  1. Discovered APIs 📡 - API endpoints found
  2. Extracted Data 📊 - All data items
  3. Code Snippets 💻 - Code in 12 languages
  4. TypeScript Types 📘 - Type definitions
  5. API Documentation 📚 - OpenAPI, Postman, etc.
  6. Test Suites 🧪 - Ready-to-run tests
  7. SDK Packages 📦 - Publishable SDKs
  8. API Examples 📝 - Request/response examples
  9. Execution Summary 📈 - Statistics

🎯 Key Features

  • Automatic Discovery - Finds APIs by watching network traffic
  • 12 Languages - TypeScript, Python, Go, Java, PHP, Ruby, C#, Kotlin, Rust, JavaScript, cURL, PowerShell
  • Multiple Formats - OpenAPI, Postman, cURL, Insomnia
  • OAuth Support - Automatic token capture
  • GraphQL & WebSocket - Full support
  • Production Ready - CI/CD templates, security audits, change detection

📚 Documentation


🤝 Contributing

Found a bug? Have an idea? Open an issue or submit a PR!


📄 License

ISC License - see LICENSE file for details.


🔗 Links


APX Toolkit - Your complete API integration solution. Save weeks of work in seconds. 🚀