api-mock

A mock server generated from your API Blueprint.

npm install api-mock
7 downloads in the last day
44 downloads in the last week
140 downloads in the last month

API-Mock

API-Mock is a node.js npm module that generates a mock server (express) from your API specification. Document your API in the API blueprint format, and API-Mock mocks your routes and sends the responses defined in the api spec.

Install

API-Mock requires node.js, and npm.

npm install -g api-mock

Usage

Usage:
  api-mock <path to blueprint>  [OPTIONS]

Example:
  api-mock ./apiary.md --port 3000

Options:
  --port, -p  Set which port api-mock should listen on.
                                                                 [default: 3000]
  --help      Show usage information.

  --version   Show version number.
npm loves you