@dunai/server
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

@dunai/server

TypeScript framework

  • bases on express.js
  • simple
  • cleanly and powerful

TODO

  • redirect - code
  • sendText
  • json
  • sendFile
  • headers -
  • range -

Use [[Application]] decorator to define application and [[createApp]] to create instance

Use [[Controller]] decorator to define class as Controller

In controller you need use decorators [[Action]] to define actions

You may use parameter decorators [[Path]], [[Query]], [[Body]] and [[Entity]] to bind data from request

Readme

Keywords

none

Package Sidebar

Install

npm i @dunai/server

Weekly Downloads

1

Version

0.1.7

License

MIT

Unpacked Size

142 kB

Total Files

101

Last publish

Collaborators

  • arswarog