UNPKG

parse-full-name

Version:

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] }.

18 lines (15 loc) 574 B
--- name: "Feature Request" labels: ["enhancement"] assignees: - @RateGravity/developers --- ## Describe the feature: Provide a brief explanation of what the feature is that you would like to see added. ## Give examples of the feature in use. If your proposed feature was implemented how would people use it? Give an example showing how it's use unlocks some new behavior. For instance: ```js const result = parseFullName('Name with miXed CASES', 'all', 2); // pass 2 to fix case to indicate all caps console.log(result); // { first: 'NAME', last: 'CASES' ...etc. } ```