npm.io
1.0.30 • Published 3 years ago

summerjs

Licence
MIT
Version
1.0.30
Deps
13
Size
179 kB
Vulns
0
Weekly
0

summerjs

a backend framework for js/ts developer

how to use

you can use npm command like this to install summerjs

npm i summerjs

then create js file, like index_js.js, type some code

const {App} = require("summerjs")

App.any("/", async (ctx) => "hello world");

App.run();

then run index_js.js in your terminal

node index_js.js

then you will get some info like this

server is running at 5000

that ok, open your browser, visit http://localhost:5000, you will see

hello world

yes, it is. enjoy.