Just REST is a simple REST server framework for Node.js (version 0.0.20-alpha, requires Node >= 8.0.0). It provides a module-based routing system where URLs are mapped to HTTP method handlers using regex patterns, with support for interceptors and global middleware like body parsing. Unlike full-featured frameworks like Express, it emphasizes minimalism and direct control, but is in early alpha stage with limited documentation and community. Best suited for small projects needing a lightweight REST API.
npm install just-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a simple REST server with a JSON body parser middleware and a response interceptor.
Ensure all Modules.define() calls are made before new Server().
Quote regex special characters in paths manually, e.g., '/path-to-api/([0-9]+)'.
Pin version in package.json and prepare for updates.
Run 'npm install just-rest' in project root.
Use: const { Modules } = require('just-rest');Ensure Server is imported as named export: const { Server } = require('just-rest');No dependency data recorded yet.