format-name

Make correct first/last name combination among different languages.

Usage no npm install needed!

<script type="module">
  import formatName from 'https://cdn.skypack.dev/format-name';
</script>

README

format-name

npm package Dependency Status devDependency Status

Make correct first/last name combination among different languages including preference.

Installation

yarn add format-name

The Gist

import formatName from "format-name";

formatName("Ross", "Khanas"); // Ross Khanas

formatName("台綸", "曾"); // 曾台綸

License

MIT