clean-persian

1.0.1 • Public • Published

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: ایا مطمین هستید

Package Sidebar

Install

npm i clean-persian

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.49 kB

Total Files

5

Last publish

Collaborators

  • jdmnjd