Skip to content

Nepali typing for your web app.

SahajLipi is an open-source JavaScript library that converts Roman Nepali into Unicode as people type. Use the core engine, or add live typing to your web forms.

0.1.0-alpha.4 is available on npm.
Experimental Nepali developer alpha. Read the release record.

Alpha.2 uses full consonant endings, automatic conjuncts, and backtick for explicit halves. Strict half mode retains alpha.1 fallback endings. See the change and compatibility checks.

Roman keys. Nepali text.

पानी
Try

This preview uses the core converter. The demo shows live field editing and spelling alternatives.

Fit the fields you already have.

Enable Nepali across an app, within a page, or on selected fields. Keep English fields literal and share one configuration across the fields you manage.

Explore integration recipes
Install the developer alphanpm
npm install --save-exact sahajlipi@0.1.0-alpha.4
One initializer for your appJavaScript
import { attachNepaliInputs } from 'sahajlipi/dom';

const typing = attachNepaliInputs(document, {
  scope: 'all',
});

// Call during app or page teardown.
typing.destroy();

Supports textareas and text/search inputs. Add data-sahajlipi-ignore to an English field. The getting-started guide covers npm installation and source checkouts.

A small engine, useful controls.

Direct phonetic typing

Convert the keys as a word takes shape. Ordered spelling alternatives are available for selected entries, without a mandatory choice on every word.

Typing reference

Mixed text and digit styles

Recognizable URLs and ordinary ASCII email addresses stay literal. Use Nepali digits by default, or configure Latin digits for your app.

Engine options

Core and browser entry points

Convert strings without a DOM, or attach the browser adapter. TypeScript declarations and runnable JavaScript and React examples help you integrate.

Developer guide

Built in the open.

Nepali is the implemented language today. The prototype is evolving, and unknown spellings can produce incorrect results. We publish the architecture, test methods, dated benchmarks, and review limits so you can understand its behavior before using it.

Open source. Nepali first. Experimental developer alpha on npm.