GitHub GitHub
v4.7.0 — Now available

The Node.js framework
built for clarity

Lightweight, zero-dependency, and intuitive. Build web applications, APIs, and static sites with a clean and expressive API.

npm install litenode

Everything you need, nothing you don't

🪶
Truly Lightweight

Zero external dependencies. LiteNode ships only what you need for a production-ready web server.

🛣️
Expressive Routing

Named params, optional params, wildcards, catch-all patterns, and nested routers — all with a clean API.

🏗️
AST Template Engine

STE (Simple Template Engine) is an integrated, AST-based engine for rendering HTML with full data injection support.

📃
Markdown Native

Parse individual or entire directories of Markdown files, extract frontmatter, paginate, and generate TOCs built-in.

📂
Smart Static Files

Serve assets from a static directory. New files are picked up automatically — no server restart needed.

🍪
Cookie Management

Full cookie lifecycle: parse, set, sign, verify, and delete — including signed cookies with HMAC verification.

⚙️
Environment Variables

Built-in .env file loading with multi-environment support. No dotenv dependency required.

🔀
Merge & Nest Routers

Compose your app from modular routers using merge() and nest() for clean, scalable architecture.

Up and running in seconds

import { LiteNode } from "litenode"

const app = new LiteNode()

app.get("/", (req, res) => {
    res.end("Hello, LiteNode!")
})

app.startServer() // → http://localhost:5000
Full documentation → Browse examples →

Ready to build something?

Join developers using LiteNode to build fast, clean web applications.

Star on GitHub Learn more about LiteNode →