@nelts/context
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

@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

MIT

Copyright (c) 2019-present, yunjie (Evio) shen

Dependencies (15)

Dev Dependencies (2)

Package Sidebar

Install

npm i @nelts/context

Weekly Downloads

15

Version

1.0.17

License

MIT

Unpacked Size

43.4 kB

Total Files

12

Last publish

Collaborators

  • evio