Skip to content

nelts/context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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

About

context for nelts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published