An Express middleware and static asset generator for serving API documentation in Node.js and Next.js applications. The current stable version is 1.0.23, with releases following npm package publishing. It differentiates from other API doc tools by focusing on lightweight integration with Express and Next.js, providing a simple middleware that serves documentation from a provided configuration. It is TypeScript-first, shipping built-in types for a better developer experience.
npm install mindbricks-api-faceNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to mount the Mindbricks API Face middleware on an Express app to serve API documentation from a JSON file.
Use import syntax or update Node version to support ESM.
Ensure the docs path exists and is valid JSON, or pass the docs object directly.
Rename 'static' to 'staticAssets' in configuration.
Mount mindbricksApiFace after express.json() or express.urlencoded().
Update Node.js to version 14 or later.
Run 'npm install mindbricks-api-face' to install.
Switch to import syntax or set type: 'module' in package.json.
Use 'import mindbricksApiFace from 'mindbricks-api-face'' or check for named exports.