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

integrateapi

v1.0.6

Published

Production-ready TypeScript integrations for Next.js apps

Downloads

717

Readme

IntegrateAPI CLI

Production-ready TypeScript integrations for Next.js apps. Install with one command.

Installation

# Install globally
npm install -g integrateapi

# Or use with npx
npx integrateapi

Commands

integrateapi login

Authenticate with IntegrateAPI using magic link email.

$ integrateapi login
Enter your email: [email protected]
✓ Verification code sent to your email
Enter verification code: 123456
✓ Logged in as [email protected]

integrateapi list

Show all available integrations.

$ integrateapi list

💳 Payments
   ✓ stripe
   ✓ lemon-squeezy

📧 Email
   ✓ resend
   ✓ sendgrid

🔐 Authentication
   ✓ clerk

🗄️ Database
   ✓ supabase
   ✓ planetscale

🤖 AI
   ✓ openai
   ✓ anthropic

...

integrateapi add <integration>

Add an integration to your Next.js project.

$ integrateapi add stripe

✓ Found stripe integration
✓ Created 3 files
✓ Added 3 env vars to .env.local

Files created:
  lib/integrations/stripe/client.ts
  lib/integrations/stripe/types.ts
  app/api/webhooks/stripe/route.ts

Next Steps:
  1. Add your API keys to .env.local
  2. Import: import { ... } from '@/lib/integrations/stripe'
  3. Start: npm run dev

Options:

  • -y, --yes - Skip confirmation prompts
  • --no-deps - Skip dependency installation
  • --no-env - Skip .env.local updates

integrateapi account

View your account details.

$ integrateapi account

Account Details
──────────────────────────────────────────────────
  Email:     [email protected]
  Plan:      free
  Member since: 1/15/2024

Usage
  Integrations used: 3
  Installed: stripe, resend, clerk

integrateapi update

Check for template updates.

$ integrateapi update

Installed Integrations
──────────────────────────────────────────────────
  ✓ stripe
  ✓ resend

✓ All integrations are up to date

Available Integrations

| Category | Integrations | |----------|-------------| | Payments | Stripe, Lemon Squeezy | | Email | Resend, SendGrid | | Auth | Clerk | | Database | Supabase, PlanetScale | | AI | OpenAI, Anthropic | | Real-time | Liveblocks, Ably | | Storage | UploadThing | | Analytics | PostHog | | DevOps | Vercel, GitHub, GitLab |

Usage Example

After adding an integration:

// Stripe
import { stripe, createCheckoutSession } from '@/lib/integrations/stripe';

const session = await createCheckoutSession({
  priceId: 'price_xxx',
  successUrl: 'https://yourapp.com/success',
  cancelUrl: 'https://yourapp.com/cancel',
});

// Resend
import { sendEmail } from '@/lib/integrations/resend';

await sendEmail({
  to: '[email protected]',
  subject: 'Welcome!',
  html: '<h1>Welcome to our app!</h1>',
});

// OpenAI
import { chat } from '@/lib/integrations/openai';

const response = await chat({
  messages: [{ role: 'user', content: 'Hello!' }],
});

Configuration

The CLI stores configuration in ~/.integrateapi/config.json:

{
  "token": "your-auth-token",
  "email": "[email protected]",
  "plan": "free",
  "installedIntegrations": ["stripe", "resend"]
}

Environment Variables

Set INTEGRATEAPI_URL to use a custom API server:

INTEGRATEAPI_URL=http://localhost:3001/api integrateapi list

Development

# Clone the repo
git clone https://github.com/integrateapi/cli

# Install dependencies
npm install

# Build
npm run build

# Test locally
npm link
integrateapi --version

License

MIT