Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

fastic

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastic

Fast & Lightweight CLI HTTP server

Source
npmnpm
Version
1.4.0
Version published
Weekly downloads
13
-18.75%
Maintainers
1
Weekly downloads
 
Created
Source

Fastic 🚀

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

Build Status XO code style install size

SVG

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 ~160 lines of code)
  • 3 dependencies
  • Lightweight (only ~1.6 MB).

Install

npm install --global fastic

You can also use npx:

npx fastic

Usage

Usage
 $ fastic <port> <directory>

Examples
 $ fastic
 $ fastic 8250 ~/DEV/website

port

Custom port of choice, defaults to 5050.

directory

Directory, from which the server is going to start, default is current path.

License

MIT

Keywords

fastic

FAQs

Package last updated on 30 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts