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

@dreamkidd/univer-plugin-rtl-tools

v0.3.0

Published

A Univer plugin to provide UI tools and smart detection for Right-To-Left (RTL) text layout.

Readme

Univer RTL Tools Plugin

univer-plugin-rtl-tools is an extension for the Univer spreadsheet and document platform. It provides a set of UI tools and utilities specifically designed to improve the experience of handling Right-To-Left (RTL) languages such as Arabic, Persian, and Hebrew within Univer.

Status: 🚧 Work in Progress (WIP). This plugin is currently a scaffold and serves as a bridging tool while waiting for deeper RTL layout support in the core Univer rendering engine.

Features (Planned)

  • 🎛 Toolbar Integration: Adds a quick-toggle button to the Univer toolbar for switching RTL contexts.
  • 🧠 Smart Detection: Automatically detects RTL language input (e.g., Arabic/Persian Unicode blocks) in cells and prompts the user to adjust the layout/direction.
  • 🌐 Seamless UI Hooking: Built on top of Univer's Plugin and Dependency Injection (DI) architecture.

Installation

npm install univer-plugin-rtl-tools

Usage

Register the plugin when initializing your Univer instance:

import { Univer } from '@univerjs/core';
import { UniverRtlToolsPlugin } from 'univer-plugin-rtl-tools';

const univer = new Univer();

// Register core plugins first...
// univer.registerPlugin(UniverSheetsUIPlugin);

// Register the RTL Tools plugin
univer.registerPlugin(UniverRtlToolsPlugin);

Development

This project uses tsup for extremely fast, zero-config bundling.

  1. Install dependencies:
    npm install
  2. Start development watch mode:
    npm run dev
  3. Build for production:
    npm run build

Architecture

This plugin follows the standard Univer architecture:

  • UniverRtlToolsPlugin: The main entry point that registers the lifecycle hooks.
  • RtlUIController: Handles the injection of UI elements (like the toolbar button) using IMenuManagerService.
  • ToggleRtlCommand: The command that executes the state mutation when the UI is interacted with.

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

License

MIT