mirror of https://github.com/186526/handlers.js
186526 b1558bd9fa | ||
---|---|---|
.devcontainer | ||
.github/workflows | ||
.vscode | ||
demo | ||
src | ||
test | ||
types | ||
.gitignore | ||
LICENSE | ||
README.md | ||
index.ts | ||
jest.config.js | ||
package.json | ||
tsconfig.json | ||
webpack.config.js | ||
yarn.lock |
README.md
Handlers.js
Handlers.js is a unified and lightweight web application framework for multiple platforms.
import handlerJS from "handlers.js";
const App = new handlerJS();
App.binding(
"/",
App.create("ANY", async () => "Hello World!")
);
App.useMappingAdapter();
App.listen(8080);
Installation
# Use Yarn
yarn add handlers.js
# Use NPM
npm install handlers.js