Skip to content

jd1378/clean-persian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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