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

skyguard-js

v1.2.3

Published

A lightweight, dependency-free TypeScript backend framework

Readme

NPM Version Deployment Pipeline

Skyguard.js is a lightweight, dependency-free web framework built entirely with TypeScript.

The project aims to provide a clean, strongly-typed foundation for building web APIs and backend applications, with a strong emphasis on simplicity, performance, and long-term maintainability.

Skyguard.js currently delivers a solid core that includes routing, type-safe HTTP abstractions, and a carefully designed internal architecture, establishing a reliable base for future expansion and advanced features.


🎯 Current Goals

  • Provide a simple and expressive API to register and handle HTTP routes
  • Maintain a clean, extensible, and framework-agnostic architecture
  • Leverage TypeScript for strong typing and better developer experience
  • Serve as a learning project with progressive evolution

✨ Current Features

  • TypeScript-first design
  • HTTP routing by method (GET, POST, PUT, PATCH, DELETE)
  • Route groups with prefixes
  • Global, group, and route-level middlewares
  • Unified Context abstraction (ctx.req + response helpers)
  • Declarative data validation
  • Support for template motors (handlebars, pugs, ejs, etc.)
  • Built-in HTTP exceptions
  • Password hashing and JWT token generation
  • CORS middleware
  • CSRF middleware protection
  • File uploads (via middleware)
  • Static file serving
  • Session handling (via middleware)

📦 Installation

You need to have NodeJS version 22 or later installed.

Create the package.json file to start a new NodeJS project using the npm init command.

After configuring the package.json, install Typescript.

npm install typescript -D

After installing Typescript in your project, you need to create the Typescript configuration file tsconfig.json.

npx tsc --init

Now that Typescript is configured, we can install the library. Since it's a module that's in the NPM Registry, we use the npm package manager.

npm install skyguard-js

🏁 Quick Start

import { createApp } from "skyguard-js";

const app = createApp();

app.get("/", ctx => ctx.json({ status: "ok" }));

app.run();

📚 Documentation

Full documentation is available on the Official Website. A section with examples or use cases will follow.


🔮 Roadmap (Tentative)

  • Middleware system (✅)
  • Template engines supported (✅)
  • Context abstraction (✅)
  • Data validation (✅)
  • Error handling improvements (✅)
  • Sessions & cookies (✅)
  • Passoword hashing & JWT tokens (✅)
  • File uploads (✅)
  • Database & ORM integration
  • Authentication & authorization
  • WebSockets

📜 License

Licensed under the MIT License.