/unaccented

Primary LanguageTypeScript

@penguin-ui/unaccented

NPM version Coverage Status

Convert vietnamese string to unaccented string.

Installation

npm:

npm i @penguin-ui/unaccented

Yarn:

yarn add @penguin-ui/unaccented

Setup

const unaccented = require('@penguin-ui/unaccented')

console.log(unaccented(`Cháu xin chào cô chú! Sa chào cô chú đi con.`))
// print "chau xin chao co chu! sa chao co chu di con."

License

MIT © Nam Hoang