routerdir

0.1.2 • Public • Published

Router-dir

serving localhost for react-router

Install

npm install -g routerdir

Command

Usage: routerdir [options] <the html file you are willing to served, default to current ./index.html>

  Options:

    -h, --help         output usage information
    -V, --version      output the version number
    -p, --port <port>  Port for server to listen on

API

routerDir(html, port)

  • html: the html file you want to serve at.
  • port: which the port you want your server served.

License

MIT @chilijung

Package Sidebar

Install

npm i routerdir

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • chilijung