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

@langadventurellc/burnside

v0.3.3

Published

A TypeScript LLM provider adapter with MCP support for Desktop, Mobile, and API platforms.

Readme

Burnside

A TypeScript LLM provider adapter that provides a unified interface to multiple LLM providers (OpenAI, Anthropic, Google, xAI) with Model Context Protocol (MCP) support. Designed for Desktop (Electron Main/Renderer), Mobile (React Native), and API (Node.js) platforms.

Key Features

  • Unified LLM Interface: Single API for multiple providers (OpenAI, Anthropic, Google, xAI)
  • MCP Integration: Full Model Context Protocol support with both HTTP and STDIO transports
  • Cross-Platform: Works across Node.js, Electron (Main/Renderer), and React Native
  • Streaming Support: Real-time response streaming from all providers
  • TypeScript: Fully typed with comprehensive type safety

Installation

Node.js / Electron Main

npm install @langadventurellc/burnside

React Native

React Native requires an additional peer dependency for Server-Sent Events (SSE) streaming support:

npm install @langadventurellc/burnside react-native-sse

Electron Renderer

For Electron renderer processes, no additional dependencies are required beyond the base installation:

npm install @langadventurellc/burnside

Platform Support & MCP Capabilities

| Platform | HTTP Requests | Streaming (SSE) | MCP HTTP | MCP STDIO | | ----------------- | ------------- | --------------- | -------- | --------- | | Node.js | ✅ | ✅ | ✅ | ✅ | | Electron Main | ✅ | ✅ | ✅ | ✅ | | Electron Renderer | ✅ | ✅ | ✅ | ❌ | | React Native | ✅ | ✅* | ✅ | ❌ |

*Requires react-native-sse peer dependency

MCP Transport Differences

STDIO MCP Support: Only available in Node.js and Electron Main processes due to the need for child process spawning and standard I/O access. This is the key differentiator between platforms.

HTTP MCP Support: Available across all platforms as it only requires standard HTTP capabilities.

React Native Setup

Why react-native-sse is required

React Native doesn't have native support for Server-Sent Events (SSE), which are essential for streaming responses from LLM providers. The react-native-sse library provides this functionality, enabling real-time streaming of LLM responses in React Native applications.

Installation Steps for React Native

  1. Install both packages:

    npm install @langadventurellc/burnside react-native-sse
  2. For React Native 0.60 and above, no additional linking is required as react-native-sse is a JavaScript-only library.

  3. Verify installation by importing the library:

    import { Burnside } from "@langadventurellc/burnside";

Version Compatibility

  • react-native-sse: ^1.2.1 (latest available version)
  • React Native: 0.64+ (supported due to JavaScript-only implementation)
  • Node.js: 18.0.0+ (for development and Electron main process)

Troubleshooting

React Native Issues

Missing react-native-sse dependency:

Error: Cannot resolve module 'react-native-sse'

Solution: Install the peer dependency: npm install react-native-sse

Streaming not working: Ensure you have installed react-native-sse and that your React Native version is 0.64 or higher.

Peer dependency warnings: These warnings are expected and do not affect functionality. The warnings remind you that react-native-sse is required for React Native streaming support.

MCP Issues

STDIO MCP not working in React Native/Electron Renderer: This is expected behavior. STDIO MCP requires Node.js child process capabilities that are only available in Node.js and Electron Main processes. Use HTTP MCP transport instead.