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

@burdenoff/sdk-libs

v2026.825.2

Published

Modular SDK library shared across all Burdenoff product SDKs (vibecontrols, botlit, fluidgrids, bigconsole, healthybowl, devportal, workspaces). Each module exports an SdkModule contract with attach(ctx) returning a typed API; product SDKs become thin she

Readme

@burdenoff/sdk-libs

Modular SDK library shared across all Burdenoff product SDKs (Node/TypeScript).

Each module under src/modules/<name>/ exports an SdkModule with attach(ctx) -> API. Product SDKs (@vibecontrols/sdk-node, @botlit/sdk-node, etc.) become thin shells that pick which modules to mount. Sister to @burdenoff/cli-sdk.

Architecture

  • Core (src/core/): SdkContext prop bag, SdkModule contract, BaseGraphQLClient (dual workspace+global gateway), AuthStore with pluggable TokenStore (InMemory, File, Env), error hierarchy with token redaction, ModuleRegistry for cross-module access.
  • Modules (src/modules/<name>/): index.ts (default-exports SdkModule), operations.ts (hand-written gql strings), api.ts (the class returned by attach), types.ts (re-exports from __generated__/), __generated__/types.ts (codegen output, gitignored).
  • Hard rules: Modules NEVER import each other directly — use ctx.modules.get<API>('id'). Modules NEVER call process.exit or write secrets to logs.

Build

  • tsup dual ESM+CJS, multi-entry, dts: true. Entries: src/index.ts, src/core/index.ts, src/modules/*/index.ts.
  • external: graphql, graphql-request, graphql-ws (peer deps).
  • Subpath imports: @burdenoff/sdk-libs/core, @burdenoff/sdk-libs/modules/<name>.

Commands

bun install
bun run dev               # tsup watch
bun run build             # tsup once
bun run sanity            # format:check + lint + typecheck + build + test
bun run test              # vitest run
bun run codegen           # GraphQL types from pinned Hive supergraph
bun run parity:check      # cross-language manifest diff vs sdk-libs-python
bun run publish:verdaccio # alpha tag to internal Verdaccio

Adding a module

  1. mkdir src/modules/<name> with index.ts, operations.ts, api.ts, types.ts.
  2. Default-export an SdkModule<API> from index.ts.
  3. Add the module to schema/modules.yaml (operations + dependsOn).
  4. Mirror in ~/products/sdk-libs-python/ in the same PR pair.
  5. tsup picks it up automatically (src/modules/*/index.ts glob).

Testing

  • Unit (tests/unit/): pure logic — arg parsers, response transformers, gql doc builders. No HTTP. Vitest, <5s.
  • Integration (tests/integration/): MSW intercepts GraphQL requests. Mock factories derived from __generated__/types. Schema rename breaks mock = test fail.
  • E2E (tests/e2e/): real svc + state, run nightly. Mirrors ~/products/vibecontrols/vibecontrols-doctor/scripts/test-*-crud.sh.
  • Parity (tests/parity/<scenario>.yaml): same scenario file run by node + python. CI fails if shapes diverge.

Reference

  • ~/products/burdenoff-be-sdk-node/ — reference for tsup multi-entry + verdaccio publish.
  • ~/products/cli-sdk/ — sister CLI SDK.
  • ~/products/vibecontrols/vibecontrols-sdk-node/ — first consumer (thin shell).
  • ~/products/dev/audit/index/vibecontrols.md — 23-module ground-truth.