2.0.0 • Published 4 years ago

webserv v2.0.0

Weekly downloads
4
License
MPL-2.0
Repository
github
Last release
4 years ago

Webserv

Build Status Windows build status codecov.io npm version

Webserv aims to be the fastest way to deploy server for development. It comes fully loaded with standard definitions for basic web patterns. Serve a directory, start a proxy, create a CRUD server, a basic upload, or just log connections instantly from the command line.

Quick Start

Use webserv instantly with npx

npx webserv -t log

Command Line

Webserv allows you to quickly start a fully fledged development server from the command line without editing a single file.

webserv -m https -t file ./_dist -p 9999

-f: serves this folder

webserv -f ./dist

-m, --mode: use http or https (defaults to http)

webserv -m https

-l: log all requests to the console

webserv -l

-p, --port: sets the port to use (defaults to 8888)

webserv -p 8000

-t {crud, file, log, proxy, upload} options: start a predefined server type

Create a basic CRUD server

webserv -t crud

Create a proxy server

webserv -t proxy http://devpaul.com

Create a file browser (same as -f)

webserv -t file ./dist

Create an upload server

webserv -t upload ./files

Create a log server

A log server logs all request to the console and returns 200

webserv -t log

Programmatic API

Webserv offers a fully-typed programmatic API. See ./examples/hello and ./src/webserv/bin/webserv.ts.

2.0.0

4 years ago

1.3.0-beta.6

4 years ago

1.3.0-beta.5

4 years ago

1.3.0-beta.4

4 years ago

1.3.0-beta.3

4 years ago

1.3.0-beta.2

4 years ago

1.3.0-beta.1

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.2.0-beta.3

4 years ago

1.2.0-beta.2

4 years ago

1.2.0-beta.1

4 years ago

1.1.0

4 years ago

1.1.0-beta.3

5 years ago

1.1.0-beta.2

5 years ago

1.1.0-beta.1

5 years ago

1.0.0

5 years ago

1.0.0-alpha.1

5 years ago

0.12.0

6 years ago

0.11.1

7 years ago

0.11.0

7 years ago

0.10.0

7 years ago

0.9.0

7 years ago

0.8.0

7 years ago

0.7.0

7 years ago

0.6.1

7 years ago

0.6.0

7 years ago

0.5.0

7 years ago

0.4.0

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago