dschnelldavis / parse-full-name

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

Duplicated values in titleList #15

Open vitor-alves opened 4 years ago

vitor-alves commented 4 years ago

https://github.com/dschnelldavis/parse-full-name/blob/a43097ba3ab491dfc225f1726a8cee95eaac52d5/index.js#L122-L150

The titleList has a few duplicated values, like mr, ms, dr...

Is this a mistake or it is expected ?

chris-pardy commented 4 years ago

@vitor-alves we've taken over ownership of this library I'm moving issues into our fork. Please feel free to comment further on your issue there.

tafelnl commented 4 years ago

@chris-pardy I don't get it. Where is the fork located? Is it one of these: https://github.com/dschnelldavis/parse-full-name/network/members ? If so, which one

tafelnl commented 4 years ago

Never mind. I think I found it: https://github.com/RateGravity/parse-full-name

Can you maybe make a NPM of it?

chris-pardy commented 4 years ago

@tafelnl that's it, I believe the latest package version on NPM has this.