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',
});

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i http-single-serve

    Weekly Downloads

    9

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    1.82 kB

    Total Files

    3

    Last publish

    Collaborators

    • neogeek