@nepalibhasha/converter
v0.1.1
Published
Legacy Nepali font to Unicode converter for browser and Node.js
Maintainers
Readme
@nepalibhasha/converter
Convert text from legacy Nepali font encodings (Preeti, Kantipur, etc.) to Unicode. Works in both browser and Node.js.
Package size: 13 kB (compressed) / 141 kB (unpacked)
Installation
npm install @nepalibhasha/converterUsage
import { convert } from '@nepalibhasha/converter';
const unicode = convert('k]kfnL', 'preeti');
console.log(unicode); // नेपालीSupported Fonts
The converter handles legacy font encodings commonly used in Nepali documents, newspapers, and government systems before Unicode adoption.
Related
@nepalibhasha/fonts— Optimized WOFF2 web fonts for Nepali/Devanagarinepali-converter— Python version of this converter
