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

@weaveintel/api-client

v0.1.1

Published

geneWeave typed API client — bearer-token /api/me surface over @weaveintel/client (runs, catalog, tasks, reminders, memories, devices, notifications, conversations). No React Native imports.

Readme

@weaveintel/api-client

A typed, bearer-token client for the geneWeave /api/me surface — auth, runs, catalog, tasks, reminders, memories, devices, notifications, and conversations.

Why it exists

Talking to a server over HTTP by hand is fiddly: you have to remember every URL, attach the right token and CSRF header on every call, and hope the JSON that comes back is shaped the way you expected. It's like ordering at a foreign café by pointing and guessing. This package is the phrasebook — it gives you named, typed methods for each thing the geneWeave server can do, injects your credentials automatically, and validates every response with zod so a surprise from the server turns into a clear error instead of a mystery crash. Each client is its own independent instance, so one device can safely run one client per tenant.

When to reach for it

Reach for it when a mobile app, desktop app, or service needs to call the geneWeave /api/me endpoints with a stored bearer token. It stays runtime-agnostic — no React or React Native imports — so you bring your own transport and token storage. If you instead need the low-level run-streaming primitives directly in a browser (SSE decoding, view-model reducer, outbox), reach for @weaveintel/client, which this package is built on and re-exports the key pieces of.

How to use it

import { createGeneweaveClient, MemoryTokenStore, createHttpTransport } from '@weaveintel/api-client';

const client = createGeneweaveClient({
  host: 'https://api.example.com',
  transport: createHttpTransport(),
  tokens: new MemoryTokenStore(),
});

const runs = await client.listRuns({ limit: 20 });
console.log(runs);

What's in the box

| Export | What it does | | --- | --- | | createGeneweaveClient | The typed client over the /api/me surface | | createHttpTransport | Default HTTP transport seam (injectable/replaceable) | | MemoryTokenStore, namespacedTokenStore | Bearer/CSRF token storage (bring your own KeyValueStore) | | GeneweaveApiError, AuthExpiredError, ManagedByOrgError, ResponseShapeError | Typed error classes | | API_CLIENT_SCHEMA_VERSION, HostConfigSchema | Version pin + connection config schema | | Re-exported run primitives | createRunSession, streamReducer, createRunOutbox, parseSseStream, parsePartialJson, toAGUIEvents and more from @weaveintel/client, so you configure the client without importing it directly | | ./schemas.js types | zod schemas + inferred types for every surface (agenda, notes, etc.) |

License

MIT.