1.0.12 • Published 8 years ago

spa-host v1.0.12

Weekly downloads
5
License
ISC
Repository
github
Last release
8 years ago

SPA Host

npm version

Easily host applications that have a default file to route requests through, yet need to override a set of folders

Installation

$ npm install -g spa-host

Run in the root of your project

$ spahost index.html styles scripts

Run on a specific port (5000 in this case)

$ PORT=5000 spahost index.html styles scripts

This will run a server which routes all traffic to index.html unless it starts with /styles or /scripts.

1.0.12

8 years ago

1.0.11

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago