RAGFramework is a lightweight Node.js REST API Gateway framework designed for building and managing API gateways. Version 0.0.14 (released in early 2024) is the latest stable release, with an active but small release cadence. It provides routing, middleware support, and request/response transformation out of the box. Differentiators include simplicity (under 500 lines of core code) and zero external dependencies, making it suitable for microservices and edge deployments where minimal overhead is desired. Developed as part of a degree thesis, it is not battle-tested in production.
npm install ragframeworkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a basic REST API Gateway with a single GET route and starts the server on port 3000.
Replace 'const app = createApp()' with 'const app = new RAGFramework()'.
Pass middleware via 'new RAGFramework({ middleware: [...] })'.Use require() or create an ESM wrapper.
Ensure handlers are (req, res) => {...}.Run 'npm install ragframework' in your project.
Replace import with 'const RAGFramework = require('ragframework')'.Use 'const { Router } = require('ragframework')'.No dependency data recorded yet.