1.6.1 • Published 5 years ago

fastic v1.6.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

Fastic 🚀

Fast & Lightweight HTTP server, that just works. Accessible through CLI.

Build Status XO code style

Highlights

  • Beautiful output
  • Zero-config (unless you want to specify a custom port or directory).
  • Uses async/await
  • Easy access through CLI.
  • Automatically detects the content type, using file extension.
  • Uses blazing fast turbo-http library.
  • Logs HTTP requests & response status codes.
  • Single source file (containing ~200 lines of code)

Install

npm install --global fastic

You can also use npx:

npx fastic

Usage

	Usage
	 	$ fastic <options>
	Options
	  	--port, -p    		Port on which the server will be running (default: 5050)
    	--directory, -d   	Directory from which the server will be running (default: current path)
		--open, -o        	Open server address in browser? (default: false)
		--log, -l    		Log HTTP requests & response status codes (default: false)
	Examples
	  	$ fastic
		$ fastic -p 8080 -d dist --open
		$ fastic --port 3000 --log

License

MIT

1.6.1

5 years ago

1.6.0

5 years ago

1.5.4

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

5 years ago

1.5.0

5 years ago

1.4.2

5 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

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