examples/create.js
function serialEach(object, fn, callback) {
  var keys = Object.keys(object);
  next();
  function next(err) {
    if (err) return callback(err);
    var key = keys.shift();
    if (!key) return callback();
    fn(key, object[key], next);
  }
}
function serialEach(object, fn, callback) {
  var keys = Object.keys(object);
  next();
  function next(err) {
    if (err) return callback(err);
    var key = keys.shift();
    if (!key) return callback();
    fn(key, object[key], next);
  }
}
function serialEach ( object , fn , callback ) { var keys = Object . keys ( object ) ; next ( ) ; function next ( err ) { if ( err ) return callback ( err ) ; var key = keys . shift ( ) ; if ( ! key ) return callback ( ) ; fn ( key , object [ key ] , next ) ; } }
Mini control-flow library
Mini control - flow library