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

@btst/stack

v2.0.0

Published

A composable, plugin-based library for building full-stack applications.

Downloads

846

Readme

@btst/stack — BTST

Installable full-stack features for React apps
Framework-agnostic. Database-flexible. No lock-in.

npm MIT

Docs · Examples · Issues


What is BTST?

BTST lets you install production-ready app features as npm packages.

Instead of spending weeks building the same things again and again
(routes, APIs, database schemas, SSR, SEO, forms…):

npm install @btst/stack

Enable the features you need and keep building your product.

Available plugins

| Plugin | Description | |--------|-------------| | Blog | Content management, editor, drafts, publishing, SEO, RSS feeds | | AI Chat | AI-powered chat with conversation history, streaming, and customizable models | | CMS | Headless CMS with custom content types, Zod schemas, and auto-generated forms | | Form Builder | Dynamic form builder with drag-and-drop editor, submissions, and validation | | UI Builder | Visual drag-and-drop page builder with component registry and public rendering | | Kanban | Project management with boards, columns, tasks, drag-and-drop, and priority levels | | OpenAPI | Auto-generated API documentation with interactive Scalar UI | | Route Docs | Auto-generated client route documentation with interactive navigation | | Better Auth UI | Beautiful shadcn/ui authentication components for better-auth |

Each plugin ships frontend + backend together: routes, APIs, database models, React components, SSR, and SEO — already wired.

Want a specific plugin? Open an issue and let us know!


Why use it?

  • Installable features – real product features, not just UI
  • Framework-agnostic – Next.js, React Router, TanStack Router, Remix
  • Database-flexible – Prisma, Drizzle, Kysely, MongoDB
  • Zero boilerplate – no manual route or API wiring
  • Type-safe – end-to-end TypeScript

You keep your codebase, database, and deployment.


Minimal usage

import { stack } from "@btst/stack"
import { blogBackendPlugin } from "@btst/stack/plugins/blog/api"
import { createMemoryAdapter } from "@btst/adapter-memory"

export const { handler, dbSchema } = stack({
  basePath: "/api/data",
  plugins: {
    blog: blogBackendPlugin()
  },
  adapter: (db) => createMemoryAdapter(db)({})
})
import { createStackClient } from "@btst/stack/client"
import { blogClientPlugin } from "@btst/stack/plugins/blog/client"
import { QueryClient } from "@tanstack/react-query"

export const getStackClient = (queryClient: QueryClient) =>
  createStackClient({
    plugins: {
      blog: blogClientPlugin({
        apiBaseURL: "http://localhost:3000",
        apiBasePath: "/api/data",
        siteBaseURL: "http://localhost:3000",
        siteBasePath: "/pages",
        queryClient,
      })
    }
  })

Now you have a working blog with API, pages, SSR, and SEO. See the full installation guide for database adapters, auth hooks, and framework-specific setup.

Database schemas & migrations

Optional CLI to generate schemas and run migrations from enabled plugins:

npm install -D @btst/cli

Generate drizzle schema:

npx @btst/cli generate --orm drizzle --config lib/stack.ts --output db/schema.ts

Supports Prisma, Drizzle, MongoDB and Kysely SQL dialects.


Examples


Learn more

Full documentation, guides, and plugin development: 👉 https://www.better-stack.ai


If this saves you time, a ⭐ helps others find it.

MIT © olliethedev