0.3.0 • Published 9 months ago

komikos v0.3.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

komikos

komikos is a simple web server that may not employ the best tactics but it works well with 0 dependencies!

you need node.js (i use 22.x i haven't tested other versions yet)

so how do i use it

run npm install komikos and then make a file called server.js

const app = require("komikos");

app(8080,"./public",()=>{
  console.log("komikos server started");
});

you can set the port to anything between 0 and 65536 (i think) and set the path to anything, just wherever you put the html templates (whatever you do, DO NOT SET IT TO A PATH OUTSIDE THE PROJECT FOLDER.)

then make a file called index.html in your templates folder and yeah there you go

now run npm run dev and boom it should work

0.3.0

9 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago