Skip to content

demockjs/demock-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demock-server

A Demock-enabled simple HTTP server

Installation

npm install -g demock-server

Usage

demock-server [options] [root directory]

Options:

-h, --help              output usage information
-V, --version           output the version number
-j, --json-path <path>  specify the relative path to mock JSON data [/]
-p, --port <port>       specify the port [3000]
-i, --ignore-mime       ignore MIME type

By default, the current working directory is served and all JSON files are filtered through Demock.

About

A Demock-enabled simple HTTP server

Resources

Stars

Watchers

Forks

Packages

No packages published