apisim-server

A tiny lightweight server that will emulate a large full-scale API server, useful for testing.

Usage no npm install needed!

<script type="module">
  import apisimServer from 'https://cdn.skypack.dev/apisim-server';
</script>

README

apisim logo

apisim-server

A tiny lightweight server that will emulate a large full-scale API server, useful for testing.

Installation

npm install --global apisim-server

Usage

Usage: apisim -p <port> -d <delay(sec)>

Monitor user-specified files/folders for changes on specific file extensions and run relevant shell commands

Options:

  -p, --port          port number you want the server listening to
  -d, --delay         number range in secs to delay responses
  -h, --help          output usage information
  -V, --version       output version number

Examples

Running the lidless eye and passing it a yml settings file

$ apisim -p 4001 -d 2-5

License

ISC