How to Validate a Name in Node.JS

Parses a full name string (e.g. “Mr. Jon van der Waal Jr.”) into its components, and then checks whether it is a valid name string or not