merely-server

1.1.1 • Public • Published

Merely Server

This package contains dependency-free NodeJS script to create and start local server

Installation

npm install merely-server

Usage

> npm install -g merely-server
> cd site/path/
> merely-server [options]

Options:

  • --port set port for server. Default value: 8080. Example: merely-server --port 3000
  • --help, -h output usage information

Highlights

Script For Local Server

Main module is index.js. There are functions to configure, create and start the server.

Noteworthy:

Pipe Function

Pipe helper-function (helpers/pipe.js) is used to:

  • create pure functions
  • create code in 'functional styling'

Thanks Moon for article

Console Color Change Function

This helper-function (helpers/getColor.js) made console messages colorful and informative.

Package Sidebar

Install

npm i merely-server

Weekly Downloads

1

Version

1.1.1

License

MIT

Unpacked Size

6.92 kB

Total Files

7

Last publish

Collaborators

  • kseniia.kopa