1.1.22 • Published 2 years ago

host-this v1.1.22

Weekly downloads
-
License
GNU AGPLv3
Repository
gitlab
Last release
2 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

2 years ago

1.1.21

2 years ago

1.1.20

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.12

3 years ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.14

3 years ago

1.1.13

3 years ago

1.1.11

3 years ago

1.1.1

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.10

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

4 years ago

1.0.11

4 years ago

1.0.12

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago