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

@memberjunction/remote-browser-hyperbrowser

v5.48.0

Published

MemberJunction: Hyperbrowser backend driver for the Remote Browser channel. Connects the shared CDP control kit to a Hyperbrowser session (raw CDP control, hosted live view, human takeover, native agentic AI control, stealth, proxy egress, session recordi

Readme

@memberjunction/remote-browser-hyperbrowser

The Hyperbrowser backend driver for MemberJunction's Remote Browser channel. Hyperbrowser exposes a Chrome DevTools Protocol connect endpoint (driven by the shared CDP control kit) plus a hosted live-view URL and — unlike a pure CDP-as-a-service — a first-party agentic harness that runs its own model loop. This driver answers the backend-specific concerns behind an injectable service-client seam, so it builds and unit-tests with no network and no real @hyperbrowser/sdk.

See the Realtime Bridges Guide and /plans/realtime/realtime-bridges-architecture.md (§4d-i, the Remote Browser channel) for the full architecture.

Install

npm install @memberjunction/remote-browser-hyperbrowser

What it provides

  • HyperbrowserRemoteBrowser@RegisterClass(BaseRemoteBrowserProvider, 'HyperbrowserRemoteBrowser'). A MJ: AI Remote Browser Providers row with DriverClass = 'HyperbrowserRemoteBrowser' resolves to this driver via the ClassFactory. It extends BaseCdpRemoteBrowserProvider and implements only AcquireSession; everything else (action mapping, capability gating, screencast, Connect / Disconnect) is inherited from @memberjunction/remote-browser-cdp.
  • IHyperbrowserClient — the injectable seam the driver depends on instead of the real SDK: CreateSession(options){ SessionId, CdpEndpoint, LiveViewUrl }, StopSession(sessionId), and RunAgentTask(sessionId, intent){ Success, CurrentUrl?, Detail? }.
  • HyperbrowserSessionBackend — the ICdpSessionBackend for a live session: GetLiveViewUrl() returns the hosted live-view URL, InvokeNativeAIControl(intent) delegates to the native agentic harness via RunAgentTask and maps the result onto a RemoteBrowserActionResult, and Release() stops the session (idempotently).

Capability coverage (the Hyperbrowser seed row)

Seed row name Hyperbrowser, DriverClass = 'HyperbrowserRemoteBrowser'.

| Capability | Status | |---|---| | RawCdpControl | ✅ universal CDP substrate | | NativeAIControl | ✅ first-party agentic browse — InvokeNativeAIControlRunAgentTask | | LiveView | ✅ hosted live-view URL | | HumanTakeover | ✅ grab-the-wheel via the hosted live view | | ScreenStreaming | ✅ | | Stealth | ✅ | | ProxyEgress | ✅ | | SessionRecording | ✅ | | PersistentContext | ✅ | | MultiTab | ✅ | | FileDownloads | ✅ | | CaptchaSolving | ✅ |

Because Hyperbrowser supports both LiveView and HumanTakeover, it can run in any control mode — AgentOnly, ViewOnly, or Collaborative.

Binding the real Hyperbrowser SDK (production)

This package ships without the real @hyperbrowser/sdk adapter — that is a deployment concern, so no SDK / API key is hard-wired here. The SDK is declared as an optional peer dependency. At startup, bind a factory that builds an IHyperbrowserClient over the real @hyperbrowser/sdk:

import { HyperbrowserRemoteBrowser, IHyperbrowserClient } from '@memberjunction/remote-browser-hyperbrowser';
// import { Hyperbrowser } from '@hyperbrowser/sdk'; // the optional peer dependency

HyperbrowserRemoteBrowser.SetClientFactory((options) => {
    // Build a thin adapter over the real @hyperbrowser/sdk.
    // Credentials/stealth/proxy arrive already resolved in `options`; never inline secrets.
    const client: IHyperbrowserClient = {
        async CreateSession(opts) {
            // …sessions.create(...), return its CDP connect URL + live-view URL
            return { SessionId, CdpEndpoint, LiveViewUrl };
        },
        async StopSession(sessionId) {
            // …sessions.stop(sessionId)
        },
        async RunAgentTask(sessionId, intent) {
            // …run the agentic harness, return { Success, CurrentUrl?, Detail? }
            return { Success: true };
        },
    };
    return client;
});

Until a factory is bound, AcquireSession throws an explicit "bind the real Hyperbrowser client" error.

Testing

Tests inject a FakeHyperbrowserClient via HyperbrowserRemoteBrowser.SetClientFactory(...) — no network, no real @hyperbrowser/sdk. Run them with:

npm run test