1.1.22 • Published 3 years ago

host-this v1.1.22

Weekly downloads
-
License
GNU AGPLv3
Repository
gitlab
Last release
3 years ago

About

This package was made because I needed a simple way to live host a static site or VUE.JS site without having to use NGINX or IIS on my PC.
This is similar to live server and nodemon.

It is more of live-server (vs code live server) + nodemon + rsync all in one

How to install

npm i -g host-this

How to use

Once this package is referenced in your path, you can use one of the 2 commands to activate it from within a directory you want to host:

  • hostthis
  • host-this

To host a SPA website from the current directory

hostthis -S

To host a site - a basic site

hostthis

To host a site (and auto-reload on file changes) - a basic site

hostthis -D

To host a SPA site (and auto-reload on file changes) - Single page website

hostthis -S -D

To host a basic file server

hostthis -F

Then go to http://localhost:3000/ to access your site

Use a different port

hostthis -p 8080

CLI Help

hostthis --help
1.1.22

3 years ago

1.1.21

3 years ago

1.1.20

3 years ago

1.1.19

3 years ago

1.1.18

3 years ago

1.1.17

3 years ago

1.1.12

4 years ago

1.1.16

4 years ago

1.1.15

4 years ago

1.1.14

4 years ago

1.1.13

4 years ago

1.1.11

4 years ago

1.1.1

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.10

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

5 years ago

1.0.11

5 years ago

1.0.12

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago