removes all diacritics from the given string. preserves persian and english letters and numbers.
npm i clean-persian
# or
yarn add clean-persian
const clean = require('clean-persian');
console.log(clean('آیا مُطمَئِن هَستید؟'));
// result: ایا مطمین هستید