New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

apimocker

Package Overview
Dependencies
Maintainers
1
Versions
54
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 0.1.1 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc