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

celeris-js

v1.0.6

Published

The fastest Celeris backend framework that has done using C++.

Readme

Celeris

Celeris Logo

A lightweight, modular HTTP server framework for Node.js with middleware support and optional WebSocket integration.


Features

  • HTTP routing with support for all main HTTP verbs (GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS)
  • Middleware system for request/response manipulation
  • JSON body parsing middleware
  • Cookie and session management middleware
  • CORS support middleware
  • WebSocket server integration with room & messaging support
  • Simple in-memory response caching layer for fast repeated responses
  • Graceful shutdown support
  • Error handling and method not allowed support

Installation

npm install celeris-js

Basic Usage

import { Celeris } from "celeris-js";
import { json_parser_middleware } from "./middleware/json_parser.js";

const app = new Celeris("127.0.0.1", 5000);

app.use(json_parser_middleware);

app.get("/", (req, res) => {
  res.writeHead(200, { "Content-Type": "application/json" });
  res.end(JSON.stringify({ message: "Welcome to Celeris!" }));
});

Middleware

You can create or use built-in middleware to extend functionality:

  • json_parser_middleware - Parses JSON body on POST/PUT/PATCH requests
  • cookie_parser - Parses cookies into req.cookies
  • session_middleware - Session support with cookies
  • cors_middleware - Configurable CORS headers

WebSocket Support

Use CelerisWS class to add WebSocket support on the same HTTP server:

import { CelerisWS } from "celeris-js";  // Adjust import path as needed

// Instantiate standalone WebSocket server on port 5000
const wss = new CelerisWS(5000);

// Listen for connection events (already in CelerisWS, but logging again here)
console.log("WebSocket server started on ws://127.0.0.1:5000");

// For testing: after 5 seconds, broadcast a message to all clients
setTimeout(() => {
  console.log("Broadcasting message to all clients");
  wss.broadcast("Hello all clients! This is a broadcast from the server.");
}, 5000);

Graceful Shutdown

Register hooks to properly close server and clean resources before exit.


License

MIT License


Contributing

Feel free to open issues or submit pull requests!


Author

Mickyas Tesfaye — Mickyas Tesfaye