Skip to content

Normalize Persian text for web graphics like svg and canvas https://arta-tm.github.io/fa-normalize/

License

Notifications You must be signed in to change notification settings

arta-tm/fa-normalize

Repository files navigation

TypeScript library starter

styled with prettier Greenkeeper badge Travis Coverage Status Dev Dependencies

کتابخانه جاوا اسکریپت تصحیح متن فارسی جهت استفاده در محیط های گرافیکی وب مانند canvas و یا svg

A Javascript library for normalizing persian text in web graphic like svg or canvas

Demo

Demo with SVG.js

Install

npm install fa-normalize

Usage

import FaNormalize from 'fa-normalize'

FaNormalize('سجاد') // returns 'ﺩﺎﺠﺳ'
FaNormalize('سؤال', false) // returns 'ﺳﻮٔﺍﻝ'