New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

preeti2unicode

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

preeti2unicode

Convert Preeti, PCS Nepali, and Kantipur fonts to Unicode

latest
npmnpm
Version
1.0.7
Version published
Maintainers
2
Created
Source

Preeti Unicode Converter

npm version License: MIT

A converter for Nepali legacy fonts (Preeti, PCS Nepali, Kantipur) to Unicode. Works in Node.js, browsers, and React applications.

Installation

npm install preeti2unicode

Usage

In Javascript/Node.js

const { preetiToUnicode } = require('preeti2unicode/src/index');

const unicodeText = preetiToUnicode('lgdf lzlg');
console.log(unicodeText); // Output in Unicode

In Typescript

import { pcsToUnicode } from 'preeti2unicode/src/index';

const nepaliText = pcsToUnicode('some pcs font text');

In React

import React from 'react';
import useFontConverter from 'preeti2unicode/react-hook';

function NepaliConverter() {
  const { text, setText, convertedText } = useFontConverter();
  
  return (
    <div>
      <textarea value={text} onChange={(e) => setText(e.target.value)} />
      <div>{convertedText}</div>
    </div>
  );
}

Keywords

preeti

FAQs

Package last updated on 05 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts