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

skyffla

v2.2.1

Published

Multi-party peer-to-peer rooms for terminals, agents, and scripts

Readme

Skyffla Node.js Wrapper

Multi-party peer-to-peer rooms for terminals, agents, and scripts.

Use this package to join and automate installed skyffla rooms from Node.js.

npm install skyffla installs the Node.js wrapper only. Install the skyffla binary separately first.

1. Install the skyffla binary

Add the Homebrew tap once:

brew tap skyffla/skyffla

Install the CLI:

brew install skyffla

Check that the binary is available:

skyffla --version

If you want source code, release notes, or other install paths, see the Skyffla repository on GitHub.

2. Install the Node.js wrapper

npm install skyffla

The wrapper expects a skyffla binary in PATH. Override it with SKYFFLA_BIN or the binary option when starting a room.

3. Small example

Save this as example.mjs. Start host in one terminal, then start join in another.

import { Room } from "skyffla";

async function main(role) {
  const opener = role === "host" ? Room.host : Room.join;
  const room = await opener("warehouse", { name: role });

  try {
    await room.waitForWelcome();
    if (role === "host") {
      const joined = await room.waitForMemberJoined({ name: "join" });
      await room.sendChat("all", "hello from node");
      console.log(await room.waitForChat({ fromName: "join" }));
      await room.openMachineChannel("node-demo", {
        to: joined.member.member_id,
        name: "node-demo",
      });
    } else {
      await room.waitForMemberSnapshot({ minMembers: 2 });
      console.log(await room.waitForChat({ fromName: "host" }));
      await room.sendChat("all", "hello from join");
      const opened = await room.waitForChannelOpened({ channelId: "node-demo" });
      await room.channel(opened.channel_id).send("hello over machine channel");
    }
  } finally {
    await room.close();
  }
}

await main(process.argv[2]);
node example.mjs host
node example.mjs join

Version checks

Versioning is split across two layers:

  • machine protocol compatibility follows the versioning policy and machine protocol reference: the wrapper requires the same machine protocol major version and tolerates additive minor changes
  • release pairing is stricter for published packages: by default, the wrapper also checks that the spawned skyffla binary has the exact same release version as the Node.js package

Set SKYFFLA_SKIP_VERSION_CHECK=1 only if you intentionally want to run the wrapper against a different skyffla release. This skips the package-to-binary release match, but machine protocol compatibility is still enforced.

More examples

Runnable example apps live under examples/node in the GitHub repository:

Tests

From a repository checkout:

cd wrappers/node
npm test