initials

Made by the Hoodie Community.

Initials

a JavaScript library to extract initials from and adds initials to names.

status of tests

initials('John Doe');
// > 'JD'

initials(['John Doe', 'Jane Dane']);
// > ['JDo', 'JDa']

// alias
initials.find('John Doe')

// parse name(s)
initials.parse('John Doe')
// {name: 'John Doe', initials: 'JD'}

// add initials to name(s)
initials.addTo('John Doe')
// 'John Doe (JD)'
Name Initials Combined

Note: This demo is using the Bootstrap Editable Table plugin for auto-adding of new rows, and for styling.