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

olostep-bubblelab

v0.1.0

Published

Olostep integration package for Bubble Lab workflows (scrape, batch, crawl, maps, answers, MCP passthrough).

Readme

Olostep Bubble Lab Integration

Typed Bubbles for the full Olostep API (scrape, batch, crawl, maps, answers) plus a drop-in research workflow you can import into Bubble Lab. Everything is ready to hand off to the Bubble Lab team or publish on npm.

What you get

  • Bubbles for each Olostep endpoint with Zod validation and logging hooks.
  • Thin HTTP client with sane defaults and error surfacing.
  • Example end-to-end workflow (runResearchFlow) chaining map → batch scrape → answer.
  • Ready to build and ship as an npm package (@olostep/bubblelab).

Install

npm install @olostep/bubblelab
# peer deps expected in your Bubble Lab app:
# npm install @bubblelab/bubble-core @bubblelab/bubble-runtime

Usage (add to a Bubble Lab project)

import { createOlostepBubbles } from '@olostep/bubblelab';

const apiKey = process.env.OLOSTEP_API_KEY!;
const bubbles = createOlostepBubbles(apiKey);

// Example: scrape a page
const scrape = await bubbles.scrapeWebsite.run({
  url_to_scrape: 'https://example.com',
  formats: ['markdown'],
});

// Example: batch scrape + citations
const answer = await bubbles.answerQuestion.run({
  task: 'Summarize this site',
  context_urls: ['https://example.com'],
  format: 'markdown',
  include_citations: true,
});

Bundled workflow

runResearchFlow (see src/workflows/researchFlow.ts) discovers URLs, batch-scrapes them, and answers a question. You can drop this into a Bubble Lab template or expose it via the generated API.

import { runResearchFlow } from '@olostep/bubblelab/dist/workflows/researchFlow';

await runResearchFlow({
  apiKey: process.env.OLOSTEP_API_KEY!,
  targetUrl: 'https://example.com',
  question: 'What are the main products and prices?',
});

Exposed Bubbles

  • scrapeWebsite – single URL scrape, formats: markdown/html/json/text, optional country, wait, parser.
  • batchScrape – scrape many URLs in parallel with optional parser and wait.
  • createCrawl – start a crawl with optional follow_links, formats, country, parser.
  • createMap – discover URLs with include/exclude patterns and search query.
  • answerQuestion – AI-powered search/answer with optional citations, format, top_k_sources, json_schema.

Environment

  • OLOSTEP_API_KEY (required): bearer token for the Olostep API.
  • OLOSTEP_BASE_URL (optional): override https://api.olostep.com/v1.

Build & test

npm run build
npm test

How to hand this off to Bubble Lab

  1. Publish @olostep/bubblelab to npm (or give them a tarball).
  2. Send them this README plus a short note that createOlostepBubbles exposes the five nodes above and runResearchFlow is a ready-made template.
  3. (Optional) Open a PR to their examples/templates repo pointing to runResearchFlow.

Roadmap (optional)

  • Add MCP passthrough bubble for calling any Olostep MCP tool directly.
  • Add live-test matrix against Bubble Lab starter templates once their CI contract is clear.