Skip to content

Hack on the excellent Nock module that allows recorder outputs to be retrieved in JSON format

Notifications You must be signed in to change notification settings

ainsleyc/nock-json-recorder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Hack on the excellent Nock module that allows recorder outputs to be retrieved in JSON format

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%