@nelts/context
context for nelts
Usage
npm i @nelts/context
by ts:
import Context from '@nelts/context';
type BodyType = { [name: string]: any };
type FileType = { [name: string]: any };
const ctx = new Context<APP, BodyType, FileType>(app, req, res, {
cookie, params, logger,
});
License
Copyright (c) 2019-present, yunjie (Evio) shen