Skip to content
PluginStats

@shadcn/helpers weekly downloads statistics

By shadcn · npm · AI SDKs

Small helpers for developing apps.

View on npm Fresh · Dec 6, 2026

@shadcn/helpers has 157,007 recorded weekly downloads on npm, a decrease of 10.3% over the past 30 days, ranking #567 of 3,247 tracked listings.

Weekly downloads
157,007
Official API · Dec 5, 2026
7-day growth
+45.5%
+49.1K weekly downloads
30-day growth
-10.3%
-18K weekly downloads
90-day growth
+267%
+114.2K weekly downloads
Rank
#567
▲ 43 in 7 days

About @shadcn/helpers

@shadcn/helpers

A collection of helpers for building AI applications.

createChat

import { createChat } from "@shadcn/helpers/ai-sdk"

const chat = createChat()
  .user("What's the weather in San Francisco?")
  .sleep(800)
  .assistant(({ writer }) => {
    writer.reasoning("I should call the weather tool first.")
    writer
      .tool("getWeather", { input: { city: "San Francisco" } })
      .sleep(1200)
      .output({ temperature: 72, condition: "sunny" })
    writer.text("It's sunny and 72 degrees in San Francisco.")
  })

Human in the loop

A tool call left unresolved pauses the turn: the input streams, the turn finishes, and the client decides what happens next. A callback turn scripted after a paused turn becomes a continuation. It materializes when the follow-up request arrives and receives the resolved toolCall in its context.

For client-executed tools, the user supplies the output through addToolOutput and the continuation reads it:

const chat = createChat()
  .user("Help me plan the release.")
  .assistant(({ writer }) => {
    writer.tool("askQuestions", { dynamic: true, input: { questions } })
  })
  .assistant(({ writer, toolCall }) => {
    writer.text(`Got it. Starting with ${toolCall?.output?.answers.direction}.`)
  })

For approval-gated tools, needsApproval pauses behind the user's decision. output (or errorText) then means "stream this if approved"; denial streams tool-output-denied automatically:

const chat = createChat()
  .user("Clean up old deployments.")
  .assistant(({ writer }) => {
    writer.text("This will delete 3 deployments. Approve?")
    writer.tool("deleteDeployments", {
      input: { count: 3 },
      needsApproval: true,
      output: { deleted: 3 },
    })
  })
  .assistant(({ writer, toolCall }) => {
    writer.text(
      toolCall?.approved
        ? "Deleted 3 deployments."
        : "Okay, leaving them in place."
    )
  })

Wire the client with the AI SDK's own triggers: sendAutomaticallyWhen: lastAssistantMessageIsCompleteWithToolCalls for client-executed tools, or lastAssistantMessageIsCompleteWithApprovalResponses plus addToolApprovalResponse({ id: part.approval.id, approved }) for approvals.

Continuation callbacks must be pure; regenerating re-resolves them against the current transcript. get() stops before the first continuation turn, since a continuation has no message without a live transcript.

Installation

npm install @shadcn/helpers

Documentation

Visit https://ui.shadcn.com/docs to view the documentation.

Contributing

Please read the contributing guide.

License

Licensed under the MIT license.

Description from the npm listing.

  • ai
  • chat
  • helpers
  • development
  • ai-sdk
  • tanstack
  • shadcn

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

@shadcn/helpers weekly downloads on npm, last 90 days: 157,007 weekly downloads as of Dec 5, 2026, +267% over 90 days.@shadcn/helpersWeekly downloads on npm · Last 90 days157,007downloads / week+267% over 90 days020K40K60K80K100K120K140K160K180KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@shadcn/helpers weekly downloads on npm, last 90 days: 157,007 weekly downloads as of Dec 5, 2026, +267% over 90 days.

7/30/90-day growth

@shadcn/helpers weekly downloads growth on npm: +45.5% over 7 days, -10.3% over 30 days, +267% over 90 days.@shadcn/helpersWeekly downloads growth on npm157,007downloads / week now7-day growth+49,091 weekly downloads+45.5%30-day growth-17,989 weekly downloads-10.3%90-day growth+114,171 weekly downloads+267%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@shadcn/helpers weekly downloads growth on npm: +45.5% over 7 days, -10.3% over 30 days, +267% over 90 days.

Ranking history

@shadcn/helpers npm ranking history: currently #567 (by weekly downloads).@shadcn/helpersnpm ranking · by weekly downloads · Last 90 days#567current rank#200#300#400#500#600#700Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@shadcn/helpers npm ranking history: currently #567 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 29, #7 (overall #567)
All npm: every listing in weekly downloads order

Listing placement

AI SDKs378 listings · 19 pages · page 2, #13 (overall #33)
AI SDKs: every listing in weekly downloads order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (592)
Recent weekly downloads observations for @shadcn/helpers
Date (UTC)Weekly downloadsChange vs. previous
157,007-4.1K
161,092-4K
165,133+14.2K
150,941+13.3K
137,670+16.2K
121,481+8.5K
112,980+5.1K
107,916+8.1K
99,804+12.5K
87,353-3.3K
90,608-5.8K
96,408-12.6K
109,028-4.8K
113,817—

Similar npm AI SDKs plugins

All 20 @shadcn/helpers alternatives

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/@shadcn/helpers. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.