Skip to content

heatskr/oak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OAK

Running static server

oak ./public 5000

Creating the router

const oak = require ("oak");

oak.Route ()
.folder ("/", "./public")
.get ("/", (req, res) => {
  res.sendFile ("./public/index.html");
})
.listen (5000);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published