NovaxJS 2 is a lightweight, high-performance web framework for Node.js (latest v9.4.4) focused on simplicity and extensibility. It features intuitive routing with named regex groups, a powerful template engine with @include directives, destructuring, and function calls, middleware pipeline with error handling, static file serving, CORS with dynamic origin checking, plugin system, comprehensive error handling with status-specific handlers, cookie management, file uploads with configurable limits, HTML minification, and request utilities. It is designed as an alternative to Express.js with a more integrated feature set, including built-in template engine and file handling, without external dependencies. Release cadence is frequent (minor and patch releases weekly). Key differentiators: all-in-one framework with template engine and file uploads, zero external dependencies, and dynamic CORS origin checking.
npm install novaxjs2No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic server setup with routes, parameterized route, middleware, dynamic CORS, and JSON read.
Use 'import Novax from "novaxjs2"' instead of require().
Upgrade to v9.4.4 where the bug is fixed.
Upgrade to v9.4.3+ or use app.on(statusCode, handler) as workaround.
Always use res.status(code).send() or res.status(code).json() instead of setting res.statusCode.
Use @include('partials/header.html') instead of @include('/full/path/header.html').Upgrade to v9.4.3+ and use res.status(code).send() instead of direct statusCode assignment.
Update to v9.4.4 where the bug is fixed.
Switch to ES modules: use import Novax from 'novaxjs2' and ensure package.json has "type": "module".
Change the port in app.listen() or kill the process. On Linux: lsof -i :3000, then kill -9 <PID>.
No dependency data recorded yet.