handlers.js/README.md

27 lines
396 B
Markdown
Raw Permalink Normal View History

# Handlers.js
> Handlers.js is a unified and lightweight web application framework for multiple platforms.
```ts
2022-07-04 10:07:05 +00:00
import handlerJS from "handlers.js";
const App = new handlerJS();
App.binding(
"/",
App.create("ANY", async () => "Hello World!")
);
App.useMappingAdapter();
App.listen(8080);
```
2022-07-04 09:55:12 +00:00
## Installation
```bash
# Use Yarn
2022-07-04 10:07:05 +00:00
yarn add handlers.js
2022-07-04 09:55:12 +00:00
# Use NPM
2022-07-04 10:07:05 +00:00
npm install handlers.js
2022-07-04 09:55:12 +00:00
```