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

@kolbo/app-sdk

v2.3.1

Published

Kolbo App Builder SDK — auth, data, storage and AI for generated apps

Readme

@kolbo/app-sdk

The official SDK for Kolbo App Builder generated apps.

Provides a unified client for auth, data, storage, and AI — all backed by the Kolbo platform.

Installation

npm install @kolbo/app-sdk

Usage

In apps generated by Kolbo App Builder, src/lib/kolbo.ts is auto-injected and pre-configured. You never need to call createClient yourself — just import:

import { kolbo } from '../lib/kolbo';

For custom apps or external projects:

import { createClient } from '@kolbo/app-sdk';

const kolbo = createClient(); // reads VITE_KOLBO_* env vars automatically

Namespaces

kolbo.auth

Kolbo-native auth. Email + password, email OTP, and Google OAuth (via the shared Kolbo proxy at auth.kolbo.ai) — all backed by Kolbo's own user store. No separate Supabase project required.

// Email + password
await kolbo.auth.signUp({ email: '[email protected]', password: 'secret' });
await kolbo.auth.signInWithPassword({ email: '[email protected]', password: 'secret' });

// Email OTP (magic code)
await kolbo.auth.signInWithOtp({ email: '[email protected]' });
await kolbo.auth.verifyOtp({ email: '[email protected]', code: '123456' });

// Google OAuth — works identically in sandbox previews and published URLs.
// Opens a popup, uses PKCE, returns a Kolbo session.
const { data, error } = await kolbo.auth.signInWithGoogle({ redirectTo: '/auth/callback' });

// Get current user
const { data: { user } } = await kolbo.auth.getUser();

// Sign out
await kolbo.auth.signOut();

// Listen to auth state changes (same-tab + cross-tab via `storage` events)
const { data: { subscription } } = kolbo.auth.onAuthStateChange((event, session) => { ... });
// ...later
subscription.unsubscribe();

Bring-your-own Supabase (optional)

Set VITE_KOLBO_BACKEND=supabase and provide VITE_SUPABASE_URL + VITE_SUPABASE_ANON_KEY to route auth + data through your own Supabase project instead of Kolbo's backend. Requires @supabase/supabase-js as a peer dependency.

kolbo.data

MongoDB-backed shared database. Scoped to your app — other apps can't read your data.

// List with filter + sort + pagination
const { data, error } = await kolbo.data.list('tasks', {
  where: { userId: user.id, status: 'active' },
  sort: { createdAt: -1 },
  limit: 20,
  offset: 0,
});

// CRUD
const { data: task } = await kolbo.data.create('tasks', { title: 'Buy milk', userId: user.id });
const { data: updated } = await kolbo.data.update('tasks', task._id, { status: 'done' });
await kolbo.data.delete('tasks', task._id);

kolbo.storage

// Upload a file
const { data } = await kolbo.storage.upload('avatars', file.name, file);
const publicUrl = data.url; // permanent CDN URL

// List files
const { data: files } = await kolbo.storage.list('avatars');

// Delete
await kolbo.storage.delete('avatars', data.id);

kolbo.ai

Call Kolbo's AI APIs. Polls automatically — resolves when generation is complete.

// Chat / text generation
const { content, session_id } = await kolbo.ai.chat({ message: 'Tell me a joke' });

// Continue a conversation
const { content: reply } = await kolbo.ai.chat({ message: 'Another one', session_id });

// Image generation
const { url } = await kolbo.ai.generateImage({ prompt: 'Sunset over the ocean', aspect_ratio: '16:9' });

// Video generation (takes 1–5 minutes)
const { url: videoUrl } = await kolbo.ai.generateVideo({ prompt: 'Timelapse of a busy city', duration: 5 });

// Music
const { url: musicUrl } = await kolbo.ai.generateMusic({ prompt: 'Upbeat jazz background' });

// TTS
const { url: speechUrl } = await kolbo.ai.generateSpeech({ text: 'Hello world', voice: 'shimmer' });

VITE_KOLBO_API_KEY and VITE_KOLBO_BASE are auto-injected into every Kolbo App Builder app. You never need to configure them manually.

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | VITE_KOLBO_APP_ID | ✅ | Your app's unique ID | | VITE_KOLBO_API_URL | ✅ | Kolbo backend URL (auth + data + storage live under /api/*) | | VITE_KOLBO_API_KEY | For kolbo.ai | Kolbo public API key | | VITE_KOLBO_BASE | For kolbo.ai | Kolbo API base URL (default: https://api.kolbo.ai/api) | | VITE_KOLBO_OAUTH_PROXY_URL | Optional | Override Kolbo OAuth proxy base (default: https://auth.kolbo.ai/oauth/v1) | | VITE_KOLBO_BACKEND | Optional | kolbo (default) or supabase (BYO Supabase) | | VITE_SUPABASE_URL | BYO Supabase only | Your own Supabase project URL | | VITE_SUPABASE_ANON_KEY | BYO Supabase only | Your own Supabase anon key |

All variables are automatically injected by Kolbo App Builder at build time.

License

MIT