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

wnodex

v0.2.2

Published

An extensible and robust Express.js server framework designed for effortless customization and rapid deployment with sensible defaults.

Readme

wnodex

Web Node Express: an extensible and robust express.js server class designed for effortless customization and rapid deployment.

wnodex is a TypeScript-first framework that wraps Express.js to provide a modern, configuration-driven, and extensible foundation for building Node.js web servers. It comes with a suite of integrated middlewares for common tasks like security, body parsing, and logging, all manageable from a single configuration object.

Features

  • Configuration-Driven: Centralize your server setup in one object.
  • TypeScript First: Written entirely in TypeScript for a great developer experience.
  • Extensible: Composed of modular packages that can be used independently.
  • Sensible Defaults: Pre-configured with best practices for security and performance.
  • Graceful Shutdown: Built-in support for safely stopping the server.
  • Integrated Tooling: Includes middlewares for:
    • Security headers (@wnodex/helmet)
    • Cross-Origin Resource Sharing (@wnodex/cors)
    • Body and cookie parsing (@wnodex/body-parser, @wnodex/cookie-parser)
    • Response compression (@wnodex/compression)
    • Rate limiting (@wnodex/rate-limit)
    • Parameter pollution protection (@wnodex/hpp)
    • Session management (@wnodex/session)
    • Authentication (@wnodex/passport)
    • Structured logging (@wnodex/logger)
    • Centralized error handling (@wnodex/errors)

Why use it?

wnodex solves the problem of boilerplate and inconsistent configuration in Express.js applications. Instead of manually setting up and managing a dozen different middlewares, wnodex provides a cohesive ecosystem where everything is designed to work together. This leads to faster development, cleaner code, and more secure applications by default.

Installation

You can install the package using your favorite package manager:

pnpm

pnpm add wnodex

npm

npm install wnodex

yarn

yarn add wnodex

bun

bun add wnodex

Usage

Create a new Wnodex instance, passing your configuration to the constructor. Then, call the start() method.

import { Wnodex } from 'wnodex';

// 1. Create a server instance with your configuration
const server = new Wnodex({
  port: process.env.PORT || 3000,
  helmet: true,
  cors: {
    origin: 'https://my-app.com',
  },
  session: {
    secret: 'my-session-secret',
    resave: false,
    saveUninitialized: false,
  },
  passport: true,
});

// 2. Get the underlying Express app to define routes
const app = server.getApp();

app.get('/', (req, res) => {
  res.send('Hello from wnodex!');
});

// 3. Start the server
server.start().catch((err) => {
  const logger = server.getLogger();
  logger.error(err, 'Failed to start server');
});

// Handle graceful shutdown on OS signals
const gracefulShutdown = async () => {
  await server.shutdown();
  process.exit(0);
};

process.on('SIGINT', gracefulShutdown);
process.on('SIGTERM', gracefulShutdown);

License

This project is licensed under the MIT License.

Copyright (c) 2026 Davide Di Criscito

For the full details, see the LICENSE file.