Middleware to serve Manifest and Service Worker.

Since
  • 1.0.0
Author
  • Glenn de Haan

Example

const {Runtime, Server} = require('@neobeach/core');
const pwa = require('@neobeach/middlewares-pwa');

const server = new Server();

Runtime(() => {
     server.loadMiddlewares([pwa('Full Project', 'Project', "Description of Project",'#000000', '#000000', '1.0.0')]);
     server.run();
});