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

@ibus-web/engine-rime

v0.1.1

Published

Rime with every schema of rime-data, rime-loengfan and rime-ice, for ibus-web: its WebAssembly module, data and manifest.

Readme

@ibus-web/engine-rime

ibus-rime, the IBus front end of the Rime input method engine, built for the browser with librime and its Lua and octagram plugins, and the schemas of plum's rime-data, of rime-loengfan and of rime-ice, every one: pinyin, simplified and traditional, double pinyin, Zhuyin, Cangjie, Quick, Wubi, Array, stroke, Cantonese, Shanghainese and other dialects, IPA and Middle Chinese, 47 engines in one module, which runs in one Worker. The package holds no JavaScript: it is the files a host serves and points ibus-web at, manifest.json and the WebAssembly module, data archives and settings metadata it lists.

import { createIbusWeb } from "ibus-web";

const ibus = createIbusWeb({
  runtimeUrl: new URL("/ibus-web/runtime/ibus-runtime.js", location.href),
  modules: { rime: new URL("/ibus-web/engines/rime/manifest.json", location.href) },
});
ibus.addEventListener("install", ({ detail }) => console.log(`${detail.engine}: ${detail.bytes} of ${detail.total}`));
await ibus.select("rime", "rime:luna_pinyin");

Each engine is one Rime schema, rime:<schema_id>; the default is rime:rime_ice, rime-ice's simplified pinyin. ibus.engines("rime") lists them with their display names, such as 雾凇拼音 (Pinyin, simplified), and languages. The module's start installs Rime's common data and its settings schemas, 1.0 MB compressed. Each engine's dictionaries are data of its own, downloaded the first time it is selected, or when ibus.prepare("rime", engine) asks ahead, with install events reporting the bytes: rime:rime_ice's are 23.9 MB compressed, and all of them 82.2 MB.

Rime's settings are the fixed org.freedesktop.ibus.engine.rime schema at /org/freedesktop/ibus/engine/rime/ and, for each engine, org.freedesktop.ibus.engine.rime.schema at /org/freedesktop/ibus/engine/rime/<schema_id>/; the module writes Rime's YAML from them. Each schema's switches, such as simplified and traditional output or full-width characters, are IBus properties, rime:option:<name>, which a page can draw with its own controls.

Serve dist/ as it is: the manifest names its files by relative URL, and the data archives are already Brotli-compressed, so they must be served without Content-Encoding: br. The module's Worker takes 227 MiB of memory. Details are in docs/rime.md.

dist/ comes from the Nix build of the module, never from this directory: nix build .#npm.engine-rime packs the tarball.

Licensed under GPL-3.0-only, which covers the package as a whole: ibus-rime is GPL-3.0-or-later; librime, its plugins and their dependencies, linked into the module, are under the BSD, MIT, Apache and Boost licences and librime-octagram under GPL-3.0-only; rime-data's schemas are GPL-3.0-only, LGPL-3.0-only, Apache-2.0 and CC-BY-4.0 between them, rime-loengfan is CC-BY-4.0 and rime-ice GPL-3.0-only. The Cantonese dictionary jyut6ping3, from rime-cantonese, and loengfan, from rime-loengfan, are CanCLID's, under CC-BY-4.0, compiled into Rime's tables; LICENSES/ATTRIBUTION.md credits them. Each licence text is in LICENSES/, and the copyright notices of librime, librime-lua, LevelDB, yaml-cpp, glog, Lua, MARISA and rime-loengfan in LICENSES/<component>/.