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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@kubiks/cli

v2.0.13

Published

Kubiks CLI - installable via npm, ships prebuilt binaries for macOS and Linux

Readme

Kubiks CLI

Tests

🎬 Demo

Kubiks CLI Demo

🎯 What is Kubiks CLI?

When something breaks in your Next.js app, wouldn't it be amazing if your AI code editor could see exactly what happened? Kubiks CLI makes this possible.

  • 📊 Capture everything: Requests, AI SDK calls, tool calls and many more
  • 🤖 Feed Cursor complete context available to Cursros through MCP (Model Context Protocol)
  • Debug faster: Ask Cursor to fix issues with full trace data and request payloads

🔥 Quick Start

1. Install Kubiks CLI

Via npm (macOS/Linux)

npm i -g @kubiks/cli

Or via Homebrew (macOS/Linux)

brew install kubiks-inc/tap/kubiks

Or download for your platform

⬇️ Download from releases

2. Set up OpenTelemetry in your Next.js app

Install the Vercel OTEL package

npm i @vercel/otel

Create instrumentation.ts in your Next.js app root directory

// instrumentation.ts
import { registerOTel, OTLPHttpJsonTraceExporter } from "@vercel/otel";

export function register() {
  registerOTel({
    serviceName: "your-project-name",
    traceExporter: new OTLPHttpJsonTraceExporter({
      url: process.env.OTEL_EXPORTER_OTLP_ENDPOINT,
    }),
  });
}

Enable experimental telemetry for AI SDK calls

To capture AI SDK calls like generateText, streamText, and generateObject, you need to enable experimental telemetry in your AI SDK configuration:

import { generateText } from 'ai';

const result = await generateText({
  model: 'openai/gpt-4',
  prompt: 'Hello, world!',
  experimental_telemetry: {
    isEnabled: true,
  },
});

Note: This experimental telemetry feature must be enabled for each AI SDK call to ensure proper trace capture.

3. Start debugging like a pro

# In your Next.js project directory
kubiks

This will automatically configure the OpenTelemetry environment variables and start capturing traces from your Next.js application.

🤝 Contributing

We welcome contributions! This is an open-source project built for the developer community.

Quick Development Setup

git clone https://github.com/kubiks-inc/kubiks-cli.git
cd kubiks-cli
make deps
make test
make build

🌟 Star us!

Drop us a star — it keeps us building!

⭐ Star on GitHub

📄 License

Apache 2.0 License - see LICENSE file for details.

🛟 Support & Community


Made with ❤️ by engineers, for engineers. Happy debugging! 🐛✨