@ableron/fastify
v2.0.0
Published
Ableron Server Side UI Composition - Fastify Plugin
Maintainers
Readme
@ableron/fastify
Fastify Middleware for Ableron Distributed Server Side UI Composition.
Installation
npm i @ableron/fastifyUsage
import Fastify from 'fastify';
import ableron from '@ableron/fastify';
const app = Fastify({ logger: true });
app.register(ableron, {
ableron: {
// set optional config
statsAppendToContent: true,
// set optional logger
logger: app.log
}
});
app.listen({ port: 3000, host: '0.0.0.0' });Configuration
Configuration options see @ableron/ableron
