guess-who

1.1.3 • Public • Published

Guess Who

Extract names from usernames and email addresses with Node.js.

Installation

To add this to your existing project, install this as an NPM module.

npm install guess-who

Otherwise, clone the repo, install dependencies, and run the example.

git clone https://github.com/fraction/guess-who.git && cd guess-who
npm install
node examples/name-from-email

Usage

After you've installed guess-who, require it and use it!

gw = require('guess-who');
 
gw('johndoe', function (username, name) {
  console.log('"' + username + '" is actually "' + name.join(' ') + '"');
  // "johndoe" is actually "john doe"
});

Take a look at the examples directory to see what else can be done.

Support

Please open an issue for questions and concerns.

Contributing

Fork the project, commit your changes, and open a pull request.

Package Sidebar

Install

npm i guess-who

Weekly Downloads

9

Version

1.1.3

License

none

Last publish

Collaborators

  • christianbundy