@carescout/lightning
v1.1.11
Published
Express App
Keywords
Readme
cs-lightning
Package to wrap common settings for Express apps, implement common logging
Usage
import { Request, Response } from 'express';
import { lightning } from '@cs/lightning'
const app = lightning();
app.get('/', (req: Request, res: Response) => {
console.log('test');
res.send(app.get('msg'))
})
app.start?.(4000, () => {
console.log('Web App listening now.')
});