Converts Preeti and other Nepali fonts to Unicode
Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta
// @require https://updategf.qytechs.cn/scripts/565546/1750869/Preeti%20to%20Unicode%20Converter.js
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.
preeti('sf7df08"');
> 'काठमाण्डू'
preeti = require('preeti');
preeti('sf7df08"');
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');
This project is based on code and regular expressions from the FOSS Nepal community
Creative Commons Attribution Non-Commerical Share-Alike