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

bloom-openclaw

v1.0.1

Published

Automatic security layer for OpenClaw and Node.js AI agents. Routes all API calls through Bloom for authentication, audit logging, and kill switch.

Readme

bloom-openclaw

Security layer for OpenClaw and Node.js AI agents. Routes all API calls through Bloom for authentication, audit logging, and kill switch.

Why?

OpenClaw is powerful. It has full system access, connects to 50+ services, and can execute shell commands. That's exactly why you need guardrails.

Bloom lets you:

  • See every API call your agent makes
  • Control which endpoints it can access
  • Stop it instantly if something goes wrong
  • Detect prompt injection attacks

Installation

npm install bloom-openclaw

Quick Start (3 minutes)

1. Get your credentials

Sign up at platform.bloomtechnologies.app and create an agent.

2. Set environment variables

export BLOOM_API_KEY=your_api_key
export BLOOM_AGENT_ID=your_agent_id

3. Choose your integration method

Option A: CLI wrapper (easiest)

Wrap any command - no code changes needed:

npx bloom-openclaw npx openclaw
npx bloom-openclaw node app.js
npx bloom-openclaw npm start

Option B: Add one line to your code

// Add at the very top of your entry file
require('bloom-openclaw').init();

// All fetch() calls are now routed through Bloom
const response = await fetch('https://api.openai.com/v1/chat/completions', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ model: 'gpt-4', messages: [...] })
});

Option C: Use the wrapper function directly

const { bloomFetch } = require('bloom-openclaw');

const response = await bloomFetch('https://api.openai.com/v1/chat/completions', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ model: 'gpt-4', messages: [...] })
});

Configuration

Environment Variables

| Variable | Required | Description | |----------|----------|-------------| | BLOOM_API_KEY | Yes | Your Bloom API key | | BLOOM_AGENT_ID | Yes | Your Bloom agent ID | | BLOOM_PROXY_URL | No | Proxy URL (default: https://iam.bloomtechnologies.app) | | BLOOM_ENABLED | No | Set to false to disable (default: true) | | BLOOM_DEBUG | No | Set to true for debug logging |

Programmatic Configuration

const bloom = require('bloom-openclaw');

bloom.init({
  apiKey: 'your_api_key',
  agentId: 'your_agent_id',
  proxyUrl: 'https://iam.bloomtechnologies.app',
  enabled: true,
  debug: false
});

API

init(options?)

Initialize Bloom and patch global fetch. Call this once at app startup.

disable()

Disable Bloom and restore original fetch behavior.

enable()

Re-enable Bloom after disabling.

isActive()

Returns true if Bloom is currently active.

bloomFetch(url, options?)

Make a single request through Bloom without patching globally.

What Gets Proxied?

All outgoing HTTP requests made via fetch() are automatically routed through Bloom, except:

  • localhost and 127.0.0.1
  • Bloom's own endpoints

Dashboard

View all your agent's activity at platform.bloomtechnologies.app:

  • Real-time API call logs
  • Filter by endpoint, method, or time
  • Kill switch to terminate agent access instantly
  • Scope controls to limit what endpoints the agent can access

Links

License

MIT