UNPKG

spur-common

Version:

A Node.JS library of common modules used as a base to most Node.JS applications.

21 lines (15 loc) 293 B
module.exports = function () { class HTTPPlugin { constructor(request) { this.request = request; } static start(request) { const plugin = new this(request); plugin.start(); return plugin; } start() {} end() {} } return HTTPPlugin; };