lib/package.js
function getPersonObject(personString) {
	const regex = personString.match(/^(.*?)\s?(<(.*)>)?\s?(\((.*)\))?\s?$/);

	return getAllStar({
		name: regex[1],
		email: regex[3],
		url: regex[5]
	});
}
function getPersonObject(personString) {
	const regex = personString.match(/^(.*?)\s?(<(.*)>)?\s?(\((.*)\))?\s?$/);

	return getAllStar({
		name: regex[1],
		email: regex[3],
		url: regex[5]
	});
}
function getPersonObject ( personString ) { const regex = personString . match ( / ^(.*?)\s?(<(.*)>)?\s?(\((.*)\))?\s?$ / ) ; return getAllStar ( { name : regex [ 1 ] , email : regex [ 3 ] , url : regex [ 5 ] } ) ; }
Parse npm string shorthand into object representation

@param  {String} personString string shorthand for author or maintainer

@return {Object}              object representing author or maintainer
Parse npm string shorthand into object representation