mirror of https://github.com/186526/handlers.js
Publish v0.1.0
This commit is contained in:
parent
65841ce965
commit
f87ab5366e
|
@ -3,7 +3,7 @@
|
||||||
> Handlers.js is a unified and lightweight web application framework for multiple platforms.
|
> Handlers.js is a unified and lightweight web application framework for multiple platforms.
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import handlerJS from "./";
|
import handlerJS from "handlers.js";
|
||||||
|
|
||||||
const App = new handlerJS();
|
const App = new handlerJS();
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ App.listen(8080);
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Use Yarn
|
# Use Yarn
|
||||||
yarn add sw2express
|
yarn add handlers.js
|
||||||
# Use NPM
|
# Use NPM
|
||||||
npm install sw2express
|
npm install handlers.js
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "handlers.js",
|
"name": "handlers.js",
|
||||||
"description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.",
|
"description": "Handlers.js is a unified and lightweight web application framework for multiple platforms.",
|
||||||
"version": "0.0.1",
|
"version": "0.1.0",
|
||||||
"main": "./dit/main.node.js",
|
"main": "./dist/main.node.js",
|
||||||
"webpack": "./dist/index.js",
|
"webpack": "./dist/index.js",
|
||||||
"browser": "./dist/main.serviceworker.js",
|
"browser": "./dist/main.serviceworker.js",
|
||||||
|
"module": "./dist/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
"dist",
|
"dist",
|
||||||
"LICENSE"
|
"LICENSE"
|
||||||
|
|
Loading…
Reference in New Issue