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

zt-hock

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zt-hock

A mocking server for HTTP requests, forked from Hock

  • 1.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

zt-hock Build Status Coverage Status

An HTTP mocking server forked from Hock, which itself is based on a project called Nock.

Why fork

We use hock for several projects, but lacked a couple of features and configurations options. The project looked like it was dead (no comments and merged PRs for more than half a year). As a result, we decided to fork the project, re-write it, and add our missing features.

Difference with hock

At a glance:

  • Modern code base, written in ES6
  • delay() API
  • Object comparison for bodies tries to compare first using deep-equals, then falls back to stringify
  • Option to turn off throwing errors for unprocessed requests in the assertion queue
  • ... we await your feature requests!

WIP: Readme

Keywords

FAQs

Package last updated on 10 Jun 2019

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