/**
 * Parse profile.
 *
 * @param {Object|String} json
 * @return {Object}
 * @api private
 */
exports.parse = function(json) {
  if ('string' == typeof json) {
    json = JSON.parse(json);
  }
  
  var profile = {};
  profile.id = json.iupi;
  profile.email = json.email;
  
  return profile;
};

@@ -139,16 +139,17 @@
 ring' ==
+=
  typeof 

Improve code quality by change '==' into '==='