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

northernjs

v1.1.7

Published

A modern, lightweight, and fast Node.js web framework for building high-performance APIs and web applications.

Readme

NorthernJS

A modern, lightweight, and fast Node.js web framework inspired by Koa, built with TypeScript for a great developer experience.

npm version License: MIT

✨ Features

  • 🚀 TypeScript First - Clean, generic-powered, and type-safe API
  • ⚡ High Performance - Up to 2x faster HTTP request handling than Express.js
  • 🔧 Modern Middleware - Async/await-based pipeline with strong typing
  • 🛣️ Advanced Routing - Route parameters, query parsing, and file-based routing
  • 📦 Rich Ecosystem - CORS, logging, compression, sessions, authentication
  • 🔒 Security First - Built-in security headers and input validation
  • 🔄 Hot Reload - Automatic server restart during development
  • 📁 File-Based Routing - Next.js-style API routes

📦 Installation

npm install northernjs

🚀 Quick Start

import { App, json } from "northernjs";
import { Router } from "northernjs/router";

const app = new App();
const router = new Router();

// Middleware
app.use(json());

// Routes
router.get("/", (ctx) => {
  ctx.response.json({ message: "Hello, NorthernJS!" });
});

router.post("/users", (ctx) => {
  const user = ctx.request.body;
  ctx.response.status(201).json({ created: user });
});

app.use(router.getRoutes());

app.listen(3000, () => {
  console.log("🚀 Server running on http://localhost:3000");
});

📚 Documentation

🎯 Key Highlights

Type-Safe Context

interface User {
  name: string;
  email: string;
}

router.post("/users", async (ctx: Context<{}, User>) => {
  // ctx.request.body is fully typed!
  const { name, email } = ctx.request.body;
  // ... create user
});

Superior HTTP Performance

NortherJS's optimized request handling provides faster HTTP responses compared to Express.js, making it ideal for high-throughput APIs and real-time applications.

File-Based Routing

routes/
├── users/
│   ├── index.ts    # GET/POST /users
│   └── [id].ts     # GET/PUT/DELETE /users/:id
└── api/
    └── health.ts   # GET /api/health

📊 Performance

NortherJS provides industry-leading performance with specialized middleware:

  • Up to 2x faster HTTP request handling than Express.js
  • 35x faster app initialization than Express.js
  • Automatic compression with gzip/deflate
  • Streaming support for memory efficiency
  • Optimized routing with regex-based matching

Run benchmarks: npm run benchmark:compare

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


Ready to build something amazing? Check out the Getting Started guide!