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

@celestialsynthesis/flowr-sdk-recorder

v0.1.1

Published

FlowR recorder SDK — capture, edit, and replay guided walkthroughs in-page without the browser extension.

Readme

@celestialsynthesis/flowr-sdk-recorder

FlowR recorder SDK for recording, editing, saving, and replaying guided walkthroughs inside a normal web page. This is the cloud-backed recorder, not the local-only development recorder.

Version: 0.1.1

Public package repo: https://github.com/Celestial-Synthesis/flowr-web-sdk/tree/main/sdk-recorder

Install

npm install @celestialsynthesis/flowr-sdk-recorder

CDN Import

Use an immutable tag for production embeds:

<script type="module">
  import { recorder } from "https://cdn.jsdelivr.net/gh/Celestial-Synthesis/flowr-web-sdk@sdk_v0.1.1/sdk-recorder/dist/index.js";

  const handle = recorder({
    baseUrl: "https://rfeiamxssoajeabwyean.supabase.co",
    apiKey: "flowr_pk_live_...",
    screenshots: false,
  });

  handle.open();
</script>

The recorder supports two control patterns:

  • Omit uiMode to keep the default cloud recorder panel and drive the SDK from your host app with the handle methods.
  • Set uiMode: "sdk-ui" when you want the richer shared FlowR panel. The ESM build loads that panel from a secondary dist/*.js chunk only when you opt in.

FlowR SDK UI

If you want the built-in FlowR recorder experience, initialize the handle with uiMode: "sdk-ui" and open it. After that, the panel handles sign-in, start/stop recording, library browsing, and replay for you:

const handle = recorder({
  baseUrl,
  apiKey,
  uiMode: "sdk-ui",
});

handle.open();

You can still call the handle methods directly in sdk-ui mode if you want host shortcuts or automation.

Host-Controlled / Manual Triggers

If your page already has its own buttons or app shell, keep the default mode and call the recorder handle directly:

const handle = recorder({
  baseUrl,
  apiKey,
  screenshots: false,
});

await handle.auth.signInWithOtp("[email protected]");
await handle.auth.verifyOtp("[email protected]", "123456");

const recording = await handle.startRecording({ title: "Checkout tour" });
await handle.stopRecording();
await handle.replay(recording);

Authentication

The apiKey is a FlowR publishable key. It is safe to ship in browser code and identifies the FlowR org for CORS, rate limits, public recording discovery, and the built-in OTP auth flow.

End users must sign in before saving cloud recordings:

await handle.auth.signInWithOtp("[email protected]");
await handle.auth.verifyOtp("[email protected]", "123456");

If your app already mints the FlowR publishable-key owner's Supabase JWT, pass it directly:

const handle = recorder({
  baseUrl,
  apiKey,
  userJwt: ownerSession.access_token,
});

Common Operations

const recording = await handle.startRecording({ title: "Checkout tour", visibility: "private" });
await handle.stopRecording();
const recordings = await handle.listRecordings();
await handle.replay(recordings[0]);
await handle.deleteRecording(recordings[0].id);

Screenshot Support

Screenshot capture is optional. When screenshots: true, the recorder expects html-to-image to be available as an optional peer dependency. CDN consumers can keep screenshots disabled or provide that dependency with their own bundler/import-map setup.

Bundled FlowR Dependencies

The source workspace uses these FlowR packages, but this public browser bundle already includes them. You do not need to import them separately from jsDelivr:

  • @flowr/sdk-core
  • @flowr/sdk-recorder-kernel
  • @flowr/sdk-rest
  • @flowr/sdk-ui
  • @flowr/shared-core

Optional lazy-loaded UI chunks:

  • @flowr/sdk-ui/recorder-panel

For the recorder ESM build, the full shared recorder panel is emitted as a secondary dist/*.js chunk and is downloaded only when uiMode: "sdk-ui" is used. The default cloud recorder panel does not load that chunk.

Included Files

  • dist/index.js - ESM browser bundle
  • dist/index.cjs - CommonJS bundle
  • dist/index.d.ts - TypeScript declarations
  • dist/*.js - optional ESM chunks loaded by dist/index.js when needed
  • package.json - public package metadata