http-single-serve

1.0.0 • Public • Published

http-single-serve

⚙️ HTTP server for use with single page applications.

NPM Version

Install

$ npm install http-single-serve

Usage

const http = require('http-single-serve');
 
http({
    port: process.env.PORT || 5000,
    root: 'dist/',
    entry: 'index.html',
});

Readme

Keywords

Package Sidebar

Install

npm i http-single-serve

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

1.82 kB

Total Files

3

Last publish

Collaborators

  • neogeek