tidyjs
v1.0.22
Published
A tidy Node.js framework for building server-side applications on top of TypeScript & JavaScript
Readme
tidyjs
A Node.js framework born for more tidy development of building server-side applications on top of Node.js & Typescript.
Installation
$ npm install tidyjs --saveNode.js >= 8.0.0 required
Getting Started
import { tidyServerApp } from 'tidyjs'
tidyServerApp()
.use(ctx => {
return {
message: `Hello ${ctx.req.query.my_name || 'world'}, I am tidyjs`,
}
})
.listen(3000)Features
- Extensible : powerful and natural plugin system.
- Developer friendly : full Typescript support, and built to be very expressive.
- Clean business logic : use pure function, separated from web protocol.
- Full async support : take advantage of power of async/await.
- Routing support type and schema : we can easily build strongly typed interfaces.
- High performance routing : use used Prefix Tree, when there are a lot of routes, lookup performance can be greatly improved
- Clean and solid code : the whole project is written in the Typescript strict mode and captures all errors and exceptions using async/await To build a clean and solid system.
