1.0.1 • Published 2 years ago

human-name-splitter v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Human name splitter

Libarary for splitting human name into first name, last name, salutation, suffix & initials

Usage:

import {splitter} from "human-name-splitter"

const result = splitter("Mr. Mario De Vacelo Parirato IV")
console.log(result)

Result:

  {
      salutation: "Mr.",
      firstName: "Mario",
      lastName: "De Vacelo Parirato",
      initials: "",
      suffix: "IV",
  }
1.0.1

2 years ago

1.0.0

2 years ago