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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.2
    0
  • 0.1.1
    0

Package Sidebar

Install

npm i routerdir

Weekly Downloads

0

Version

0.1.2

License

MIT

Last publish

Collaborators

  • chilijung