honorific
v1.0.2
Published
Lists of honorific name prefixes and suffixes.
Downloads
15
Readme
honorific
Lists of honorific prefixes and suffixes.
Installation
npm i --save honorific
Usage
var honorific = require('honorific')
console.log(honorific.prefixes)
console.log(honorific.suffixes)
const honorific = require('honorific');
const PrefixDropdown = React.createClass({
render: function() {
var options = honorific.prefixes.forEach(function (prefix, i) {
return <option key={i}>{prefix}</option>
});
return <select>{options}</select>
}
})
ReactDOM.render(<PrefixDropdown />, document.body)