clean-persian
v1.0.1
Published
removes all diacritics and converts the multiple forms to their first form
Downloads
1
Maintainers
Readme
clean-persian
removes all diacritics from the given string. preserves persian and english letters and numbers.
usage
npm i clean-persian
# or
yarn add clean-persian
const clean = require('clean-persian');
console.log(clean('آیا مُطمَئِن هَستید؟'));
// result: ایا مطمین هستید