src/utils/spawn.js
function spawnNodesWithId (n, factory, callback) {
  spawnNodes(n, factory, (err, nodes) => {
    if (err) return callback(err)
    map(nodes, identify, callback)
  })
}
function spawnNodesWithId (n, factory, callback) {
  spawnNodes(n, factory, (err, nodes) => {
    if (err) return callback(err)
    map(nodes, identify, callback)
  })
}
function spawnNodesWithId ( n , factory , callback ) { spawnNodes ( n , factory , ( err , nodes ) => { if ( err ) return callback ( err ) map ( nodes , identify , callback ) } ) }
Spawn n nodes, getting their id's and setting them as `peerId` on the nodes
Spawn n nodes getting their id s and setting them as peerId on the nodes