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

@jxsuite/server

v1.0.0

Published

Jx development server with live reload, server-side proxy, and studio integration

Readme

@jxsuite/server

Bun-native development server for Jx projects with live reload, proxy resolution, and Studio API.

Overview

@jxsuite/server provides a single createDevServer() call that covers live reload, $src/$prototype proxy resolution (Node.js-side), timing: "server" function execution, a Studio filesystem API, and OXC-powered code services.

Installation

bun add @jxsuite/server

Usage

import { createDevServer } from "@jxsuite/server";

await createDevServer({
  root: "./my-project",
  port: 3000,
  builds: [{ entrypoints: ["./index.html"], outdir: "./dist", label: "app" }],
});

Endpoints

Live reload — GET /__reload

SSE endpoint. chokidar watches the project root and pushes change events to connected browsers, triggering automatic page reload.

$prototype/$src proxy — POST /__jx_resolve__

Resolves external $prototype data sources server-side. Supports .js modules and .class.json schemas. Avoids browser CORS issues and enables Node.js-only dependencies (fs, glob, etc.).

Server functions — POST /__jx_server__

Executes timing: "server" function entries during development. The runtime sends { $src, $export, arguments } and receives the return value as JSON.

Studio filesystem API — /__studio/*

REST API for the Studio visual builder:

| Method | Path | Description | | -------------- | ----------------------- | -------------------------- | | GET | /__studio/project | Project metadata | | GET | /__studio/files | Directory listing | | GET/PUT/DELETE | /__studio/file | Read / write / delete file | | POST | /__studio/file/rename | Rename or move file | | GET | /__studio/components | Discover custom elements | | GET | /__studio/search | Search file contents |

All file operations are constrained to the project root (path traversal is rejected).

Code services — /__studio/code/*

OXC-powered tools for the Studio function body editor:

| Endpoint | Tool | Description | | ---------------------------- | ---------------- | ------------------- | | POST /__studio/code/format | oxfmt | Format a JS snippet | | POST /__studio/code/minify | Bun.Transpiler | Minify a JS snippet | | POST /__studio/code/lint | oxlint | Lint a JS snippet |

Build pipeline

buildAll(options) uses Bun.build to bundle entrypoints. Incremental rebuilds (rebuild(changedPath)) are triggered by the file watcher and reprocess only affected entrypoints.

Dependencies

| Package | Purpose | | ---------- | ----------------------------- | | chokidar | File watching for live reload |

Bun built-ins used: Bun.serve, Bun.build, Bun.Transpiler.

License

MIT