nock-json-recorder
v0.18.3
Published
HTTP Server mocking for Node.js
Downloads
6
Readme
nock-json-recorder
Just a quick hack on the excellent Nock module that allows recorder outputs to be retrieved in JSON format.
var nock = require('nock-json-recorder');
nock.recorder.rec(true);
var responses = nock.recorder.playJson();