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

fullstx

v1.0.3

Published

A high-performance, custom backend framework with built-in hot-reload.

Readme

fullstx

A high-performance, custom backend framework with a static file frontend. Equipped with built-in browser-sync for automatic hot-reload during development.

Features

  • 🚀 Radix Trie Router: O(1) routing performance for maximum speed.
  • 🔄 Built-in Hot-Reloading: Seamless development with integrated browser-sync. Proxies your app and reloads the browser when static files or server code changes.
  • 🛡️ Secure by Default: Helmet (security headers), CORS, XSS protection, and rate-limiting built-in.
  • 🗜️ Auto-Compression: Gzip and Brotli compression out of the box.
  • 🧩 Extensible: Built-in support for Sessions, SQLite, Knex, WebSockets, HTMX, and Sentry.

Quick Start

Scaffold a new Fullstx project instantly:

npm create fullstx@latest my-app
# or
npx create-fullstx@latest my-app

Then run your app:

cd my-project
npm install
npm start

Installation

Or install manually in an existing project:

npm install fullstx

Configuration

Pass options when creating the Framework instance:

const Framework = require('fullstx');

const app = Framework({
  // --- Development & Server ---
  port: 3000,                  // Public port (default: 3000)
  internalPort: undefined,     // Override internal port manually
  internalPortOffset: 1000,    // Offset for internal server when liveReload is true
  liveReload: true,            // Enable/disable browser-sync hot-reload
  staticDir: "public",         // Directory for static files (default: "public")

  // --- Core Middlewares ---
  logger: true,                // Enable HTTP request logging
  cors: true,                  // Enable Cross-Origin Resource Sharing
  helmet: true,                // Enable Security Headers (Helmet)
  xss: true,                   // Enable XSS Protection / Sanitization
  compression: true,           // Enable Gzip/Brotli Compression
  healthCheck: true,           // Enable /api/health endpoint

  // --- Features ---
  session: false,              // Enable Sessions (requires Redis/Memory config)
  htmx: true,                  // Enable HTMX helpers (req.htmx, res.hxRedirect, etc)
  jwtSecret: process.env.JWT_SECRET || "supersecret", // Secret for JWT signing
  
  // --- Integrations ---
  db: null,                    // Database configuration (Knex)
  ws: null,                    // WebSocket / Redis PubSub config
  sqlite: null,                // SQLite specific config
  sentry: null                 // Sentry error tracking config
});

app.listen(3000);

Example: server directly on port 3000 (without browser-sync proxy):

const app = Framework({ liveReload: false });
app.listen(3000);

Troubleshooting

  • Port already in use — another process is using port 3000 or 4000. Stop that process, or reset the port:

    const app = Framework({ internalPort: 4100 }); // force internal port
    app.listen(3000);
  • File changes but browser doesn't reload — ensure the file is in the watch list in the Framework options.

Notes

  • The framework automatically handles browser-sync internally — no need to install/configure browser-sync separately.
  • Production mode: set liveReload: false so there is no browser-sync overhead.
  • Static files are served by the serveStaticFile middleware in app.js.

Testing

Internal Framework Testing

The framework's internal engine is tested using Jest to maintain stability and performance.

npm run test