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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@tomorrowevening/hermes

v0.1.19

Published

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

Downloads

976

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

An application isn't required, however it's nice to maintain multiple remotes. Alternatively, Remotes can be created independently.

The ThreeEditor is used as a multi-view editor for ThreeJS, and should be limited to only the Editor app.

const IS_DEV = true;
const IS_EDITOR = IS_DEV && document.location.hash.search('editor') > -1;

const theatre = new RemoteTheatre(IS_DEV, IS_EDITOR);
const three = new RemoteThree('Hermes Example', IS_DEV, IS_EDITOR);

export default function AppWrapper() {
  const [app, setApp] = useState<Application | null>(null);

  useEffect(() => {
    const instance = new Application();
    instance.detectSettings(IS_DEV, IS_EDITOR).then(() => {
      // TheatreJS
      instance.addComponent('theatre', theatre);

      // ThreeJS
      instance.addComponent('three', three);

      // Ready
      setApp(instance);
    });
  }, []);

  // MultiView requires you identify each scene so they can be instantiated by the editor
  const scenes: Map<string, any> = new Map();
  scenes.set('Scene1', Scene1);
  scenes.set('Scene2', Scene2);
  scenes.set('RTTScene', RTTScene);

  return (
    <>
      {app !== null && (
        <>
          {IS_DEV && (
            <>
              {IS_EDITOR && (
                <ThreeEditor
                  three={three}
                  scenes={scenes}
                  onSceneUpdate={(scene: any) => {
                    scene.update();
                  }}
                />
              )}
            </>
          )}
        </>
      )}
    </>
  );
}

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.

Custom remote commands

This component is added only in debug-mode to add extra support for remote-components.

In this example it's added to add custom Remote Component support for:

  • TheatreJS - Communicates with the studio instance
type RemoteProps = {
  three: RemoteThree
  theatre: RemoteTheatre
}

export default function RemoteSetup(props: RemoteProps) {
  // Remote Theatre setup
  props.theatre.studio = studio;
  props.theatre.handleEditorApp();
  return null;
}

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