random-document-stream

create a stream with randomized documents

random document stream

creates a stream of random documents for use in testing PouchDB/CouchDB

npm install random-document-stream
var Random = require('random-document-stream');
var random = new Random(n);
random.on('data', function (d) {
  // called n times 
})