Exframe Rest is a lightweight wrapper around Express.js that provides restful routing for the Harmony Framework. The current stable version is 3.7.3, released under the ISC license. It defaults to port 8080, assumes JSON payloads, and sets CORS headers. Key differentiators include integration with the exframe ecosystem (exframe-health, exframe-logger, exframe-service) and a simple API for creating RESTful servers. Release cadence appears to be stable with infrequent updates.
npm install exframe-restNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a REST server with exframe-rest, configuring port, and adding a POST endpoint.
Update Node.js to version 14 or later.
Use exframe-health 2.x if compatible (check changelog).
Call app.listen() after defining routes.
Use const { create } = require('exframe-rest');Install peer dependencies: npm install exframe-health exframe-logger exframe-service
Ensure create() is called correctly: const app = create(port);