🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

apimocker

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apimocker - npm Package Compare versions

Comparing version

to
0.1.2

2

bin/apimocker.js

@@ -8,3 +8,3 @@ #!/usr/bin/env node

.version(pkg.version)
.option("-c, --config <path>", "Absolute path to config file.", __dirname + "/../config.json")
.option("-c, --config <path>", "Path to config.json file.", __dirname + "/../config.json")
.option("-O, --show-output", "Enable console logging. Default is true.", true)

@@ -11,0 +11,0 @@ .option("-p, --port <port>", "Port that the http mock server will use. Default is 8888.", "8888")

{
"name": "apimocker",
"description": "Simple HTTP server using express, for server API mocking.",
"version": "0.1.1",
"version": "0.1.2",
"author": {

@@ -6,0 +6,0 @@ "name": "Greg Stroup",

@@ -18,3 +18,3 @@ # apimocker

Out of the box, you can just run "apimocker" with no arguments.
(Except on window. See below.)
(Except on windows, you'll need to edit config.json first. See below.)

@@ -34,2 +34,4 @@ Then you can visit "http://localhost:7878/first" in your browser to see it work.

### Help
apimocker -h

@@ -36,0 +38,0 @@ ## Configuration