Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "fasthr", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A fast and tiny CLI tool to easily spin up a hot reload http server on the current directory", | ||
@@ -5,0 +5,0 @@ "bin": { |
@@ -5,4 +5,6 @@ ![Fast Hot Reload CLI Logo](https://assets.jeanlescure.io/ujf5Hb.svg) | ||
This is a tiny CLI tool that mixes together [no-bs-typescript-server-boilerplate](https://github.com/jeanlescure/no-bs-typescript-server-boilerplate), [fastify](https://github.com/fastify/fastify), and [livereload](http://livereload.com/) to easily spin up a hot reload http server on the current directory. | ||
This is a tiny (6.5kb) CLI tool that mixes together [no-bs-typescript-server-boilerplate](https://github.com/jeanlescure/no-bs-typescript-server-boilerplate), [fastify](https://github.com/fastify/fastify), and [livereload](http://livereload.com/) to easily spin up a hot reload http server on the current directory. | ||
![](https://raw.githubusercontent.com/jeanlescure/fasthr/main/public/demo.gif) | ||
## Like this project? ❤️ | ||
@@ -16,4 +18,16 @@ | ||
## System dependencies | ||
- Node.js ([install instructions](https://github.com/nvm-sh/nvm#installing-and-updating)) | ||
## Usage | ||
With `npx` you can use as a one-liner: | ||
```sh | ||
$ npx fasthr | ||
``` | ||
**Alternatively** | ||
Install globally: | ||
@@ -25,3 +39,3 @@ | ||
Run: | ||
then run: | ||
@@ -36,4 +50,6 @@ ```sh | ||
Run help for more options: | ||
## Options | ||
Run help trigger for more info: | ||
``` | ||
@@ -40,0 +56,0 @@ $ fasthr -h |
82
21836
7
43