npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

rohingya-keyboard

v0.1.0

Published

A free, predictable on-screen and physical keyboard for typing the Hanifi Rohingya script (RTL, tonal) — plus the raw keymap data for building your own UI.

Readme

rohingya-keyboard

A free, predictable on-screen and physical keyboard for typing the Hanifi Rohingya script (right-to-left, tonal, Unicode block U+10D00–U+10D3F) in any React app.

  • On-screen QWERTY-shaped keyboard — every key shows both its plain and Shift-revealed character at once, so the whole layout is guessable without ever pressing Shift first.
  • Physical keyboard support, driven by the exact same keymap.
  • A lockable right-hand Shift key for typing a run of tone marks without re-tapping each time.
  • Built-in language toggle to hand typing back to the device's normal keyboard for English.
  • The raw keymap data and helper functions are also exported, if you'd rather build your own UI on top instead of using the bundled component.

Install

npm install rohingya-keyboard

react and react-dom (18+) are peer dependencies — this package doesn't bundle its own copy.

Two things you need to set up

1. Tailwind must see this package's files. The component is styled with Tailwind utility classes directly (no separate CSS file is shipped), so your tailwind.config needs to include this package in its content array or the classes will get purged:

// tailwind.config.js
module.exports = {
  content: [
    "./app/**/*.{js,ts,jsx,tsx}",
    "./node_modules/rohingya-keyboard/dist/**/*.{js,mjs}",
  ],
  // ...
};

2. Load the Hanifi Rohingya font. The component references 'Noto Sans Hanifi Rohingya' — without it loaded, the glyphs will render as empty boxes on most systems. Easiest is Google Fonts, e.g. in app/layout.tsx with next/font/google, or a plain <link> tag.

Usage

import { HanifiKeyboard } from "rohingya-keyboard";

export default function Page() {
  return <HanifiKeyboard />;
}

The component is self-contained (its own text field, on-screen keyboard, language switch, and copy button) — no props required.

Building your own UI

If you want the keymap without the bundled component:

import {
  PHYSICAL_KEYMAP,
  KEYBOARD_ROWS,
  CHAR_INFO,
  charForKey,
  physicalKeyLookup,
} from "rohingya-keyboard";

See the exported types (KeyDef, KeyId) for shapes.

License

MIT