1.0.0 • Published 4 years ago
http-single-serve v1.0.0
http-single-serve
⚙️ HTTP server for use with single page applications.
Install
$ npm install http-single-serve
Usage
const http = require('http-single-serve');
http({
port: process.env.PORT || 5000,
root: 'dist/',
entry: 'index.html',
});
1.0.0
4 years ago