Skip to content
PluginStats

@warmhub/sdk-ts weekly downloads statistics

By warmhub (2 listings) · npm · MCP servers

The TypeScript SDK for WarmHub — create repos, commit and query data, and compound knowledge with your AI agents.

View on npm Fresh · Dec 6, 2026

@warmhub/sdk-ts has 29,663 recorded weekly downloads on npm, an increase of 127% over the past 30 days, ranking #930 of 3,247 tracked listings.

Weekly downloads
29,663
Official API · Dec 5, 2026
7-day growth
+96.1%
+14.5K weekly downloads
30-day growth
+127%
+16.6K weekly downloads
90-day growth
+27.4%
+6.4K weekly downloads
Rank
#930
▲ 186 in 7 days

About @warmhub/sdk-ts

<p align="center"> <img src="https://warmhub.ai/logo-light.svg" width="200" alt="WarmHub logo"> </p>

@warmhub/sdk-ts

TypeScript SDK for WarmHub.

📖 Full docs: docs.warmhub.ai/sdk/overview/ · API reference: docs.warmhub.ai/sdk-reference/readme/ · Release notes: docs.warmhub.ai/sdk/typescript/changelog/

Upgrading

CHANGELOG.md ships inside this package. It is migration-guide style: every breaking change is written as what it was, what it is now, and the exact edit with before/after code. Read it before a version bump.

# Installed copy, offline:
cat node_modules/@warmhub/sdk-ts/CHANGELOG.md

It is also browsable on the npm page under Code → CHANGELOG.md.

Install

npm install @warmhub/sdk-ts

Node 22 callers verify downloaded graph checkpoints through the isolated subpath. The verifier consumes caller-supplied bytes and performs no fetch or WarmHub authentication:

import { createReadStream } from 'node:fs'
import { verifyRepositoryCheckpointArchive } from '@warmhub/sdk-ts/checkpoint'

const result = await verifyRepositoryCheckpointArchive(
  createReadStream('repository-checkpoint.zip'),
)

Get a Token

The WH_TOKEN used below is a personal access token. Mint one with the WarmHub CLI:

wh auth login
wh token create --name my-app
export WH_TOKEN=eyJhbGciOi...

See Personal Access Tokens for scopes, rotation, and CI usage.

Quickstart

import { WarmHubClient } from '@warmhub/sdk-ts'

const client = new WarmHubClient({
  auth: { getToken: async () => process.env.WH_TOKEN },
})

// One-time setup. Skip these three calls (or catch CONFLICT) on re-runs.
await client.org.create('acme')
await client.graph.create('acme', 'world', 'Game world')
await client.shape.create(
  'acme',
  'world',
  'Location',
  { x: 'number', y: 'number', label: 'string' },
  { eventRequestId: crypto.randomUUID() },
)

await client.commit.apply(
  'acme',
  'world',
  'seed cave',
  client.ops().add('cave', {
    shapes: ['Location'],
    data: { x: 0, y: 0, label: 'Dark Cave' },
  }),
)

const head = await client.thing.head('acme', 'world', { shape: 'Location' })

For the connect-and-read flow without setup, see the Quickstart. For reference on shapes, things, and writes, see Data Modeling.

Function Logs

Backend function console.* lines are suppressed by default. SDK consumers can opt into log replay for debugging:

const client = new WarmHubClient({
  auth: { getToken: async () => process.env.WH_TOKEN },
  functionLogs: 'raw',
})

Entrypoints

  • @warmhub/sdk-ts: core client, types, errors, OperationBuilder (client.ops())

Error Handling

import { isRetryable, isWarmHubError } from '@warmhub/sdk-ts'

try {
  await client.graph.get('acme', 'world')
} catch (err) {
  if (isWarmHubError(err) && err.kind === 'NOT_FOUND') {
    // handle missing graph
  }
  if (isRetryable(err)) {
    // retry strategy
  }
  throw err
}

Writing

A write names a Thing by its full name (taken literally, / included) and states its Shapes. Build writes with client.ops(); every add and revise states its Shapes in exactly one way, or the builder throws a WriteOperationError (VALIDATION_ERROR, with operationIndex) before any request:

import { shapeName } from '@warmhub/sdk-ts'

const ops = client
  .ops()
  .add('acme', { shapes: ['Deal'], data: { company: 'Acme' } })
  .add('scratch', { shapeless: true, data: { note: 'free' } })
  .revise('acme', { shapes: ['Deal'], data: { company: 'Acme 2' } })
  .add('r1', { shapes: ['Rating'], data: { about: 'acme', score: 5 } })
  .add('crew', { shapes: ['Set'], data: { members: ['acme'] } })
  .rename('scratch', 'scratch-2')
  .retract('crew', { reason: 'disbanded' })
  // A Shape is the Thing hub/shapes/X, written with shapes: [].
  .add(shapeName('Deal'), { shapes: [], data: { fields: { company: 'string' } } })

await client.commit.apply('acme', 'world', 'seed', ops)

commit.apply, commit.validate and commit.applyStreaming also take plain WriteOperation[] ({ operation: 'add', name, shapes, data }). An operation that breaks that form gets the ordinary error of the check it fails, such as an add that states no Shapes.

  • An assertion (r1 above) is a Thing one of whose declared Shapes composes Assertion, with its target in data.about.
  • shapes: ['Deal', 'Contactable']: bare Shape names. A pin (Deal@v2) is refused: a write always certifies under each Shape's head version.
  • shapeless: true (builder option): no Shape; the data is stored but not validated, and the operation result carries warnings.shapeless. A raw operation spells it shapes: []. A Shape (hub/shapes/X) is written with shapes: [], never shapeless.
  • keepShapes: true (revise only): the SDK reads the Thing's current Shapes and version and sends both, the version as expectedVersion (a supplied expectedVersion wins). A Thing revised earlier in the same submission carries that revise's Shapes and no version; one added, or renamed to or from, earlier in the same submission is refused before anything is sent (submit it in a later request, or pass shapes). keepShapes pins the version it read; a cross-process resubmit of the same submissionId can conflict; explicit shapes is the retry-safe form. The Shapes are sent bare, so the revise re-certifies under each Shape's head version.…

Description from the npm listing.

  • warmhub
  • sdk
  • typescript
  • ai
  • agents
  • mcp
  • knowledge
  • knowledge-graph
  • assertions
  • trust
  • trpc

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

@warmhub/sdk-ts weekly downloads on npm, last 90 days: 29,663 weekly downloads as of Dec 5, 2026, +27.4% over 90 days.@warmhub/sdk-tsWeekly downloads on npm · Last 90 days29,663downloads / week+27.4% over 90 days010K20K30K40KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@warmhub/sdk-ts weekly downloads on npm, last 90 days: 29,663 weekly downloads as of Dec 5, 2026, +27.4% over 90 days.

7/30/90-day growth

@warmhub/sdk-ts weekly downloads growth on npm: +96.1% over 7 days, +127% over 30 days, +27.4% over 90 days.@warmhub/sdk-tsWeekly downloads growth on npm29,663downloads / week now7-day growth+14,537 weekly downloads+96.1%30-day growth+16,623 weekly downloads+127%90-day growth+6,385 weekly downloads+27.4%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@warmhub/sdk-ts weekly downloads growth on npm: +96.1% over 7 days, +127% over 30 days, +27.4% over 90 days.

Ranking history

@warmhub/sdk-ts npm ranking history: currently #930 (by weekly downloads).@warmhub/sdk-tsnpm ranking · by weekly downloads · Last 90 days#930current rank#400#600#800#1000#1200#1400Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 17, 2026 – Dec 6, 2026 · 45 observations · Updated Dec 5, 2026pluginstats.com
@warmhub/sdk-ts npm ranking history: currently #930 (by weekly downloads).

Listing placement

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

Listing placement

MCP servers468 listings · 24 pages · page 8, #10 (overall #150)
MCP servers: 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 @warmhub/sdk-ts
Date (UTC)Weekly downloadsChange vs. previous
29,663-720
30,383+3.5K
26,843+4.3K
22,580+1.8K
20,740+4.1K
16,664+1.7K
14,999-127
15,126-106
15,232-4.7K
19,950-3.3K
23,270-2.7K
25,988-6.4K
32,348-4.1K
36,443—

Similar npm MCP servers plugins

All 20 @warmhub/sdk-ts 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/@warmhub/sdk-ts. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.