fullname-extractor

1.1.4 • Public • Published

fullname-extractor

A utility to extract first-name, middle-name, last-name, honorifics and gender based on the input string provided.

Note

I integrated dictionary in the new version.

Usage

var fullnameExtractor = require('fullname-extractor')
var data = fullnameExtractor("my name is cool mr 4sameer @darsh rohan jijaram solse")
console.log(data)
 
//output
{ status: 'success',
  honorific: 'Mr.',
  gender: 'Male',
  firstName: 'Rohan',
  middleName: 'Jijaram',
  lastName: 'Solse',
  name: 'Rohan Jijaram Solse' }

Contributing

Rohan Solse

All suggestions and recommendations are more than welcome. You can get in contact with me @ rohansolse@gmail.com.

Package Sidebar

Install

npm i fullname-extractor

Weekly Downloads

1

Version

1.1.4

License

ISC

Unpacked Size

6.47 MB

Total Files

35

Last publish

Collaborators

  • rohansolse