SAE Framework

raw JSON →
0.20.24 verified Fri May 01 auth: no javascript deprecated

SAE Framework is a microservices API engine for Node.js. Current version 0.20.24 is in early development with incomplete documentation and unstable APIs. Release cadence is irregular. Differentiators aim to provide lightweight, opinionated microservice scaffolding, but the project lacks maturity. Not recommended for production use as core features are still marked as TODO, including auth context cleanup and field filtering.

error Cannot find module 'sae-framework'
cause Package not installed or missing dependencies.
fix
Run: npm install sae-framework
error SAE is not a constructor
cause Incorrect import (ES6 import on CJS-only package).
fix
Use const SAE = require('sae-framework');
breaking API is unstable and not versioned; major breaking changes can occur in patch releases.
fix Do not use in production; pin to exact version if experimenting.
deprecated The library is effectively abandoned (no commits since 2019, incomplete features).
fix Use alternative frameworks like Express, Fastify, or Koa.
gotcha Auth context is not cleared between requests, potentially leaking user data.
fix If using, manually clear auth context per request.
npm install sae-framework
yarn add sae-framework
pnpm add sae-framework

Creates a SAE app server on port 3000. Note: may have undefined behavior due to early-stage code.

const SAE = require('sae-framework');
const app = new SAE();
app.set('port', 3000);
app.start(() => {
  console.log('Server running on port 3000');
});