README
litehttp - Simple!
When nothin else is lite enough.
$ mkdir mysite && cd mysite
$ npm i litehttp
put an index.html file in ./public and
var server = require('litehttp');
server.listen(3000);
console.log('listening on 3000');
Simple way to serve /public
<script type="module">
import litehttp from 'https://cdn.skypack.dev/litehttp';
</script>
When nothin else is lite enough.
$ mkdir mysite && cd mysite
$ npm i litehttp
put an index.html file in ./public and
var server = require('litehttp');
server.listen(3000);
console.log('listening on 3000');