1.0.11 • Published 20 days ago

basic-node-server v1.0.11

Weekly downloads
-
License
MIT
Repository
github
Last release
20 days ago

basic-node-server

Basic node server for everyone.

Basic node server simply hosts and serves files from the current project directory through HTTP. If no path is given, it will serve the index.html file in the root directory.

Installation

npm install basic-node-server

Usage

Then, you can run it from your project directory:

npx bns [port]

The port argument is optional. If no port is given, it will default to 3000.

For example, if you want to serve the current directory on port 8080, you would run:

npx bns 8080
1.0.9

20 days ago

1.0.8

20 days ago

1.0.7

20 days ago

1.0.11

20 days ago

1.0.10

20 days ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago