mirror of
https://github.com/186526/handlers.js
synced 2024-10-13 00:29:43 +00:00
Add Web Worker Platform Adapter && Fix module path bug
This commit is contained in:
17
README.md
Normal file
17
README.md
Normal file
@ -0,0 +1,17 @@
|
||||
# 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);
|
||||
```
|
Reference in New Issue
Block a user