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

@ariestools/browser-kit

v2.0.0

Published

Config-driven provider actor launcher shared by browser realms

Readme

@ariestools/browser-kit

Browser-facing config-driven launcher for provider actors used by pages, workers, service workers, and extension/plugin realms.

The package delegates platform-neutral catalog selection, provider planning, provisioning, actor construction, supervision, and sessions to @ariestools/actor-system. It adds a descriptor-free browser system manifest and attaches actors in other realms using typed proxy factories without resolving provider bindings again.

import {
  compileBrowserSystem,
  launchCompiledBrowserSystem,
} from '@ariestools/browser-kit'

const compiled = compileBrowserSystem({ actorCatalog, config, providerDescriptors })
const session = await launchCompiledBrowserSystem({ actorCatalog, compiled })

Compilation acquires no providers and constructs no actors. The compiled value retains installed descriptors and must stay in its owner realm. Use a BrowserSystemManifest plus a typed proxy adapter when another realm attaches. launchBrowserSystem remains the one-step compile-and-launch convenience.

Cross-realm manifests distinguish a compatible planId from the exact systemInstanceId. Neither identifier is authentication; realm adapters must authenticate their peers.

Retained startup

startBrowserSystem(options) returns synchronously before compilation. Its whenReady() joins the same compiled browser launcher; snapshot() and subscribe() retain the neutral bounded graph and resource events even when compilation or acquisition fails. Pass the handle to bindPageLifecycle or bindWorkerShutdown before awaiting readiness. A stop request waits for an in-flight factory and rolls back at the next owned acquisition checkpoint.

Runtime options, including diagnostic sinks, cancellation checkpoints and strict resident termination signals, pass through to actor-system. Custom provisioners remain responsible for enforcing declared access internally and reporting their actual acquisitions. Cross-realm attachment is a separate operation and does not yet expose this pre-boot handle.

Proxy factory authority

A proxy factory represents only the owner-selected monikers assigned to its provider ID in the attached system. Its transport facade permits requests for those monikers only, exposes no transport-close operation, and rejects new or late completed requests after that proxy's cleanup. The scope remains live during its own disposer and closes even if disposal fails. Remote provider dependencies execute in the owning realm; their declarations do not grant a proxy factory unrelated remote service access. The transport owner alone closes the shared connection after all proxy disposers have run.