Launched this week

SpaceNode
Node.js framework — zero dependencies
5 followers
Node.js framework — zero dependencies
5 followers
Zero-dependency Node.js framework. Auto-discovery modules, pipeline middleware, DI container, event bus, built-in SSR template engine. 2× faster than Express, on par with Fastify. Just 3 lines to launch.



Hey hey
Quick update — v1.1.0 is live!
Just shipped a built-in SSR template engine for SpaceNode — server-side rendering with zero extra dependencies. No EJS, no Pug, no Handlebars needed.
What the template engine includes:
Custom syntax: [= expr], [# if], [# each], [> partial], [# block]
Layouts — default layout wraps all pages, override per-render or disable with { layout: false }
Partials with isolated scope: [> partials/card { title: 'Hello' }]
Blocks — inject content into layout slots (CSS, scripts, etc.)
Pipe filters — chainable: [= price | currency:'EUR'], [= name | capitalize], [= text | truncate:200]
Auto-escaping by default (XSS protection), raw() for trusted HTML
Flash messages — request.flash('success', 'Saved!'), auto-injected on next render
AOT compilation — templates compile to JS functions on first hit, LRU-cached
Two ways to render: request.render('home', data) from controllers, or app.render('GET', '/', 'home', data) for declarative routes — no controller needed
views/settings.js — auto-loaded config for globals, default layout, custom helpers
Also in this release: WebSocket message size limits (DDoS protection) and hot-path optimizations that put SpaceNode on par with raw http.createServer.
npm install spacenode