handlers.js/README.md

27 lines
385 B
Markdown
Raw Normal View History

# Handlers.js
> Handlers.js is a unified and lightweight web application framework for multiple platforms.
```ts
import handlerJS from "./";
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
yarn add sw2express
# Use NPM
npm install sw2express
```