get-full-name

2.1.0 • Public • Published

@get-full-name

npm (scoped)

Removes all spaces from a string.

Install

$ npm install get-full-name

Usage

const getFullName = require('getFullName');

//=> When we have all the three name components.
getFullName('firstName', 'lastName', 'middleName');

//=> When we have only first name and last name.
getFullName('firstName', 'lastName');

//=> Name can be passed as an object
let name = {
  firstName: '',
  middleName: '',
  lastName: '',
};
getFullName(name);

Dependents (0)

Package Sidebar

Install

npm i get-full-name

Weekly Downloads

0

Version

2.1.0

License

ISC

Unpacked Size

1.79 kB

Total Files

3

Last publish

Collaborators

  • ankitpratap