Skip to content
/ preeti Public
forked from Shuvayatra/preeti

convert Nepali Preeti ASCII font to Unicode

Notifications You must be signed in to change notification settings

rosnk/preeti

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 PCS Nepali and Kantipur by providing a second parameter.

preeti('sf7df08"', 'PCS Nepali');
preeti('sf7df08"', 'Kantipur');

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

About

convert Nepali Preeti ASCII font to Unicode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%