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

@simular-ai/simulib-log-viewer

v5.4.33

Published

Floating log window for automation scripts. eframe viewer + napi bindings.

Downloads

2

Readme

@simular-ai/simulib-log-viewer

A floating, always-on-top log window for automation scripts. 100% click-through by default — every mouse click passes straight through to whatever is underneath, so the window never interferes with the page or app being automated. To move the window or pause execution, the user presses a deliberately rare global hotkey (Ctrl+Shift+Option+L on macOS, Ctrl+Shift+Alt+L everywhere else — same physical key combo, different keycap name) which is displayed inside the window: pressing it once enters "grab mode" (click-through off, execution paused, native title bar draggable); pressing it again restores click-through and resumes. Excluded from screenshots on macOS.

The package ships two artifacts per platform:

  • A napi .node file (the JS bindings).
  • A simulib-log-viewer executable (the eframe GUI).

Both ride along in the per-platform npm subpackage; npm install picks the correct one for your OS/arch. The Rust bindings discover the bundled binary at runtime via dladdr (Unix) / GetModuleHandleExW (Windows), so there is no viewerPath argument or path probing on the JS side.

Usage

Runnable, typechecked examples live under examples/:

  • examples/basic.mjs — full LogWindow API tour (spawn / log / waitIfPaused / clear / close).
  • examples/with-simulib-js.mjs — wires @simular-ai/simulib-js's initLogger into the window so every Rust-side log::*! record shows up automatically.

See examples/README.md for how to run them.

API

| Method | Description | | ------------------- | -------------------------------------------------------------------------------------------- | | new LogWindow() | Construct a handle. Does not open the window. | | spawn() | Launch the viewer subprocess. | | log(message) | Append a line. | | clear() | Drop all displayed messages. | | isPaused (getter) | true while the user has pressed the grab hotkey (paused & interactive); false otherwise. | | waitIfPaused() | await-able; returns immediately if not paused. | | close() | Shut down the viewer subprocess. Optional — happens automatically on parent exit. |

Why a separate process

Cross-platform Rust GUI toolkits (eframe, winit, iced, slint) require the OS process main thread on macOS, which Node already owns. The window therefore runs in its own process, with NDJSON over stdin/stdout for IPC. Same constraint Electron and Tauri are built around.

Development

npm install
npm run build:debug          # builds the .node + the viewer binary, copies both to the package root
node examples/basic.mjs      # opens the window

The viewer Cargo feature gates eframe and macOS objc2 extras so the cdylib build (napi build) does not pull the GUI deps.

Releasing

See PUBLISH.md. Releases are cut from CI on tag push; per-platform packages are produced and published automatically.

License

MIT © 2026 Simular AI