Skip to content

xenikopa/merely-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Merely server for testing production build localy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published