0.1.1 • Published 7 months ago

expressjs-helper v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

expressjs-helper

This library is a utility library that runs on top of express and is lightweight, but supports many convenient functions for using express.

npm i expressjs-helper

Only TypeScript is supported.

How to use

// controller/TestController.ts
@RestController()
export class TestController{

    @Get("/hello")
    get(){
        return "helloWorld";
    }
}

// app.ts
const app: Express = express();
const port = 8000;

app.use(expressHelper());
app.use(expressHelperEndpoint());


app.listen(port, () => {
    console.log(`Server is running on http://localhost:${port}`);
});
0.1.1

7 months ago

0.1.0

7 months ago

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

8 months ago

0.0.2

8 months ago

0.0.1

8 months ago