Preeti to Unicode Converter

Converts Preeti and other Nepali fonts to Unicode

بۇ قوليازمىنى بىۋاسىتە قاچىلاشقا بولمايدۇ. بۇ باشقا قوليازمىلارنىڭ ئىشلىتىشى ئۈچۈن تەمىنلەنگەن ئامبار بولۇپ، ئىشلىتىش ئۈچۈن مېتا كۆرسەتمىسىگە قىستۇرىدىغان كود: // @require https://update.greasyfork.org/scripts/565546/1750869/Preeti%20to%20Unicode%20Converter.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

ئاپتورى
kid4rm90s
نەشرى
1.1.0
قۇرۇلغان ۋاقتى
2026-02-08
يېڭىلانغان ۋاقتى
2026-02-08
Size
14.7 KB
ئىجازەتنامىسى
MIT

preeti

Preeti is a popular font used in Nepal to write Nepali text

Without Preeti font, the text is just ASCII, so this module converts it to Unicode Devanagari characters.

Usage

preeti('sf7df08"');
> 'काठमाण्डू'

In NodeJS

preeti = require('preeti');
preeti('sf7df08"');

Other fonts

You also can use converters for other fonts by providing a second parameter. Here is the list of all supported fonts.

preeti('sf&df)*"', 'PCS Nepali');
preeti('sf7df08"', 'Kantipur');
preeti('sf&df)*"', 'Fontasy Himali TT');
preeti('sf7df08"', 'Sagarmatha');

Original Shell and JS code

This project is based on code and regular expressions from the FOSS Nepal community

License

Creative Commons Attribution Non-Commerical Share-Alike