nock-json-recorder

0.18.3 • Public • Published

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();

/nock-json-recorder/

    Package Sidebar

    Install

    npm i nock-json-recorder

    Weekly Downloads

    2

    Version

    0.18.3

    License

    none

    Last publish

    Collaborators

    • ainsleychong