libs/index.js
function parseResponse(cb) {
  return function parse(err, response, body) {
    // TODO Handel the errors
    cb(err, JSON.parse(body))
  }
}
function parseResponse(cb) {
  return function parse(err, response, body) {
    // TODO Handel the errors
    cb(err, JSON.parse(body))
  }
}
function parseResponse ( cb ) { return function parse ( err , response , body ) { // TODO Handel the errors cb ( err , JSON . parse ( body ) ) } }
one function to handle all the return errors
one function to handle all the return errors