Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-json-replay-server

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-json-replay-server

A simple json replay server which can be used for standalone frontend web application (angular especially) when development. Simply put the url & parameters & response json data, then hit the url in browser or from your web application, whenever it match

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
71
decreased by-43.2%
Maintainers
1
Weekly downloads
 
Created
Source

Simple JSON Replay Server (Not yet published to npm, still working on it)

Pefect companion with angular 1/2 development, and unit mock testing.

It is not a Restful Json Server

Have you spent a lot of time trying to find a simple straight-forward file based json replay server which will just matching url and query parameters and return response you expect?

You probably will be disappointed, because not all but at least majority of them are fancy shinning restful style severs which either return dynamic json in memory or manipulate some text db files. And obviously, they will all require you to send standard restful style requests and then response with some dynamic results which you might have to think hard to set it up.

Isn't it overkill? if we just need a mock server to help us during development locally and once deployed, it will never bother again.

Simple Features:

  • Simple command to launch it in any avaialbe port with zero configuration.
  • Easy to maintain data Put a url and a response json in your replay data folder and you should get it right away.
  • Advanced features to allow you set more matching rules including request parameter, method, header, cookie etc.
  • Straight-foward rules to return best match results.
  • Fast & Predictable, Once configured, it will response immediately and consitently.
  • Flexible & Powerful, You can configure different rules to simulating different responses to cover different scenarios for the same service call.

Keywords

FAQs

Package last updated on 11 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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