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

@tomorrowevening/hermes

v0.1.44

Published

An extendable set of Web Tools controlled via a separate window for non-intereference with content.

Readme

Hermes

An extendable set of Web Tools controlled over a separate window for non-intereference with content (like a remote controller!)

Open the Application and editor side-by-side.

Setup

This example uses React, ThreeJS, and TheatreJS.

Create an Application

Instantiate your Application (or a custom subclass) outside the component tree, then wrap your app with HermesApp. It handles detectSettings, the loading gate, Theatre Studio initialisation, and automatically switches between editor and app rendering based on IS_EDITOR.

import studio from '@tomorrowevening/theatre-studio';
import HermesApp from '@tomorrowevening/hermes/editor/HermesApp';
import ExampleApplication from './three/ExampleApplication';
import { loadAssets } from './three/loader';
import Scene1 from './three/scenes/Scene1';
import Scene2 from './three/scenes/Scene2';
import MyCanvas from './components/MyCanvas';
import { IS_DEV, IS_EDITOR } from './constants';

// Register scene classes so MultiView can instantiate them in the editor
const scenes = new Map<string, any>([
  ['Scene1', Scene1],
  ['Scene2', Scene2],
  ['RTTScene', RTTScene],
]);

// Create once outside the component — avoids re-instantiation on re-render
const app = new ExampleApplication('My Project', IS_DEV, IS_EDITOR);
if (IS_DEV && IS_EDITOR && studio) {
  studio.initialize();
  app.theatre.studio = studio;
  app.theatre.handleEditorApp();
}

export default function AppWrapper() {
  return (
    <HermesApp
      app={app}
      scenes={scenes}
      onSceneAdd={(scene) => {
        scene.setup(app);
        scene.init();
      }}
      onSceneUpdate={(scene) => scene.update()}
      onLoad={loadAssets}
    >
      {(app) => <MyCanvas app={app} />}
    </HermesApp>
  );
}

HermesApp props

| Prop | Type | Description | | --- | --- | --- | | app | Application | Application instance with RemoteTheatre + RemoteThree added as components | | scenes | Map<string, any> | Scene name → scene class map, used by the editor's MultiView | | onSceneAdd | (scene) => void | Called when MultiView instantiates a scene (setup + init) | | onSceneUpdate | (scene) => void | Called every frame for the active scene in the editor | | onSceneResize | (scene, w, h) => void | Called when MultiView resizes a scene | | onLoad | (app) => Promise<void> | Asset loading function — HermesApp waits for this before rendering children | | renderLoading | ReactNode | Shown while detectSettings or onLoad is pending | | children | (app) => ReactNode | App content rendered after loading completes (not shown in editor mode) |

Scene setup

After all object's have been added to your scene, run hierarchyUUID(yourScene) to update the UUIDs of every object. This helps communicate back and forth between the app and your editor.

Theatre Studio integration

Theatre Studio is initialised before HermesApp is mounted. Wire it up on the app instance so HermesApp can hand it off to the editor automatically:

import studio from '@tomorrowevening/theatre-studio';

const app = new ExampleApplication('My Project', IS_DEV, IS_EDITOR);
if (IS_DEV && IS_EDITOR && studio) {
  studio.initialize();
  app.theatre.studio = studio;
  app.theatre.handleEditorApp();
}

Editor

Tools for:

  • Customizable Navigation Dropdowns + Draggable components for Triggers/Event Dispatching
  • TheatreJS
  • ThreeJS
  • Custom ThreeJS Scene + Object Inspector

ThreeJS Editor

| Action | Keys | | ------ | ------ | | Zoom to Selected Item | CTRL + 0 | | Rotate to Front of Selected Item | CTRL + 1 | | Rotate to Top of Selected Item | CTRL + 2 | | Rotate to Right of Selected Item | CTRL + 3 | | Rotate to Back of Selected Item | CTRL + 4 | | Set Transform Controls to Rotate | r | | Set Transform Controls to Scale | s | | Set Transform Controls to Translate | t | | Toggles Transform Controls between world and local | q |

Side Panel

Holding down the CTRL key while dragging a number's label will multiply the delta by 10

Drag Multiplier

Assets

Animation / Models found at Mixamo