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

@sudobility/raidr_types

v0.1.15

Published

TypeScript types for the raidr API - MCP manifests, skills and sites

Readme

raidr_types

Shared TypeScript types for the raidr platform: MCP manifests, skills, sites, and the request/response shapes of raidr_api.

bun add @sudobility/raidr_types

Exports

| Import | Contents | Needs | | --- | --- | --- | | @sudobility/raidr_types | plain types, successResponse, errorResponse, paginatedResponse, path helpers, constants | @sudobility/types | | @sudobility/raidr_types/schemas | zod schemas for every wire type, bound to the interfaces with satisfies | zod v4 |

Only raidr_api and raidr_crawler import ./schemas. Front-end packages use the root export and never pull zod.

Manifest shape

One McpManifest per API host. Each McpTool carries a JSON Schema input and an McpToolRequest that maps input fields onto path, query, header and body. The hosted MCP server in raidr_api proxies tool calls from that mapping and forwards the caller's X-Raidr-Token per McpAuth.

API docs

One ApiDoc per API host lists its endpoints with typed parameters (text, number, enum, boolean, JSON, with formats and validation hints), the credential each needs (none, user or api_key), and EndpointLinks between endpoints (an auth token or an id that one response supplies to a later request), which ApiFlow serves as a flow map. ApiExecuteRequest / ApiExecuteResult are the body and reply of raidr_api's execute proxy.

Site credentials

extractCredential(headers, auth) pulls a signed-in user's token off a request the site itself sent: the bearer token without its prefix, a named header without its tokenPrefix, or one cookie's value. It never returns placeholders or anonymous values. The same module defines the message protocol between raidr.app and the raidr extension (BridgeRequest / BridgeResponse, TokenRequest, CapturedCredential), and RaidrSettings.siteTokens holds tokens saved by raidr token.

Related projects

  • raidr_api — CRUD for manifests, skills, sites and API docs plus the hosted MCP server
  • raidr_crawler — crawls a site, analyses the bundle, publishes manifests
  • raidr_client / raidr_lib / raidr_app — front-end stack