UNPKG

esrol-server-app

Version:

A wrapper of all Esrol server components for creating performance efficient, well structured - by following 'convention over configuration' approach, but also configurable, server-side applications.

18 lines (13 loc) 253 B
'use strict'; let initializer; module.exports = class Test { static get url() { return '/test'; } static set initializer(value) { initializer = value; } static getMultipleRecords(req, res) { return res.end(initializer); } };