A function that accepts the full name of a person in any format, parses it, and returns its parts { title, first name, middle name, last name, nickname, suffix, [and any parsing errors] }.
74
stars
15
forks
source link
nameParts[j] should be updated to namePartWords[j] #22
https://github.com/dschnelldavis/parse-full-name/blob/a43097ba3ab491dfc225f1726a8cee95eaac52d5/index.js#L73