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

brailletable

v0.1.2

Published

A complete and extensible Unicode Braille processing library.

Downloads

25

Readme

Braille Table

English Version

  • BrailleTable is a library that provides tables and utilities related to the braille system, using the Unicode Braille Patterns block as its reference.
  • Version 0.1.2
  • This library is considered unstable, and at the moment, there are no plans for future updates.
  • Original Code: Python.

Tables group (0004)

0004-AA - Braille List

    static braille_list()

Description

Returns all 64 six‑dot braille symbols. The symbols follow the standard Unicode Braille Pattern block, ranging from U+2800 to U+283F.

Details

  • Output type: List<String>
  • Total items: 64
  • Unicode block: Braille Patterns
  • Order: strictly sequential from U+2800 (⠀) to U+283F (⠿)

0004-AB - Braille List

    static reverse_braille_list() 

Description

Returns all 64 six‑dot braille symbols. The symbols follow the standard Unicode Braille Pattern block, ranging from U+2800 to U+283F.

Details

  • Output type: List<String>
  • Total items: 64
  • Unicode block: Braille Patterns
  • Order: Reverse Braille Simble List

0004-BA - Braille Binary

    static binary_list()

Description

Returns a list with 64 items, where each item is a 6‑bit array representing the binary pattern of a braille character. The bit patterns follow the natural numeric order from 0 to 63, each formatted as a 6‑bit binary sequence (000000 → 111111).

Details

  • Output type: List<List<Integer>>
  • Total items: 64
  • Bits per item: 6
  • Value range: integers 0 or 1
  • Order: sequential binary representation of numbers 0–63
  • Mapping: index → 6‑bit array

0004-BB - Braille Reverse Binary

    static reverse_binary_list()

Description

Returns a list with 64 items, where each item is a 6‑bit array representing the binary pattern of a braille character, but in reverse bit order. Each 6‑bit sequence is reversed from right to left, transforming abcxyz into zyxcba.

Details

  • Output type: List<List<Integer>>
  • Total items: 64
  • Bits per item: 6
  • Value range: integers 0 or 1
  • Order: sequential binary representation of numbers 0–63
  • Transformation: each 6‑bit array is reversed
  • Mapping: index → reversed 6‑bit array

0004-CA - Braille Binary String

    static binary_string_list() 

Description

Returns a list with 64 items, where each item is a 6‑bit binary string representing the braille pattern for values from 0 to 63. Each number is formatted as a fixed‑width 6‑character binary string ("000000" → "111111").

Details

  • Output type: List<String>
  • Total items: 64
  • String length: always 6 characters
  • Characters used: '0' and '1'
  • Order: sequential binary representation of numbers 0–63
  • Mapping: index → "binary_string"

0004-CB - Braille Reverse Binary String

    static reverse_binary_string_list()

Description

Returns a list with 64 items, where each item is a 6‑bit binary string reversed from right to left. Each binary string corresponds to the numbers 0 to 63, but with the bit order inverted ("abcxyz" → "zyxcba").

Details

  • Output type: List<String>
  • Total items: 64
  • String length: always 6 characters
  • Characters used: '0' and '1'
  • Order: sequential binary representation of numbers 0–63
  • Transformation: each binary string is reversed
  • Mapping: index → "reversed_binary_string"

0004-D - Braille Unicode

    static unicode_list()

Description

Returns a list with 64 Unicode strings, each representing the hexadecimal Unicode code point of a braille character. The values follow the standard Unicode Braille Patterns block, from U+2800 to U+283F.

Details

  • Output type: List<String>
  • Total items: 64
  • Format: hexadecimal Unicode strings (e.g., "2800", "2801", … "283F")
  • Unicode block: Braille Patterns
  • Order: strictly sequential from U+2800 to U+283F
  • Mapping: index → "unicode_hex_string"

0004-E - Number of Points Per Braille

    static dot_count()

Description

Returns a list with 64 integers, where each value represents the number of active dots (1–6) in the corresponding braille character. The count is computed from the binary pattern of each braille cell.

Details

  • Output type: List<Integer>
  • Total items: 64
  • Value range: integers from 0 to 6
  • Order: sequential braille index (0–63)
  • Mapping: index → active dot count

0004-F - Braille Dot Numbering List

    static dot_numbering_list()

Description

Returns a list with 64 items, where each item is a list containing the active dot numbers (1–6) of the corresponding braille character. Dot numbering follows the standard braille convention:

  • 1 4
  • 2 5
  • 3 6

Details

  • Output type: List<List<Integer>>
  • Total items: 64
  • Dots per item: variable (0 to 6)
  • Dot numbering: 1–6
  • Order: sequential braille index (0–63)
  • Mapping: index → [dot_numbers]

0004-G - Braille Dot Numbering String List

    static dot_numbering_string_list()

Description

Returns a list with 64 strings, where each string contains the active dot numbers of the corresponding braille character, separated by hyphens. This format is commonly used in educational material and documentation.

Details

  • Output type: List<String>
  • Total items: 64
  • Format: "1-3-5" or "" for no dots
  • Dot numbering: 1–6
  • Order: sequential braille index (0–63)
  • Mapping: index → "dot1-dot2-dot3"

Mapping group (0003)

0003-AA - Get the Index Using the Braille Character

    static get_braille_to_index(braille)

Description

Returns the numeric index (0–63) of a given braille Unicode character. The index corresponds to the character’s position in the Unicode Braille Patterns block, ranging from U+2800 to U+283F.

Details

  • Input type: String braille (a single braille Unicode character)
  • Output type: int
  • Valid range: 0 to 63
  • Unicode block: Braille Patterns
  • Mapping: braille_character → index
  • Lookup source: internal static table of 64 braille symbols

0003-AB - Get the Braille Character Using the Index

    static get_index_to_braille(index)

Description

Returns the braille Unicode character corresponding to the given index (0–63). The index maps directly to the Unicode Braille Patterns block, from U+2800 to U+283F.

Details

  • Input type: int index (a valid numeric position from 0 to 63)
  • Valid range: 0 to 63
  • Output type: String (a single braille Unicode character)
  • Unicode block: Braille Patterns
  • Mapping: index → braille_character
  • Lookup source: internal static table of 64 braille symbols

0003-B - Receives a List of Braille Characters and Returns a List of Indices

    static get_braille_list_to_index_list(braille_list)

Description

Converts a list of braille Unicode characters into a list of their corresponding numeric indices (0–63). Each character is mapped using the same Unicode Braille Patterns block (U+2800 to U+283F).

Details

  • Input type: List<String> brailleList
  • Output type: List<Integer>
  • Valid index range: 0 to 63
  • Unicode block: Braille Patterns
  • Mapping: [braille_char1, braille_char2, ...] → [index1, index2, ...]
  • Conversion rule: each character is processed using get_braille_to_index()

BrailleBase

What is BrailleBase

  • BrailleBase is an algorithm that translates characters into Braille.
  • Today, each country uses different Braille rules, and there is no universal standard for developers. This makes it almost impossible to create tools that are compatible with each other.
  • BrailleBase creates a universal layer that standardizes the logic, allowing any tool — from screen readers to Braille embossers — to speak the same language.
  • As a result, learning languages, accessing culture, and integrating devices becomes more accessible for millions of people.

Beyond translation

  • BrailleBase provides the number of dots in each Braille symbol. Example: the character '⠼', which indicates that a number follows, contains 4 dots.

  • It also provides the numeric position of each dot and the corresponding binary pattern. For '⠼', the positions are 3‑4‑5‑6 and the binary is 001111.

  • These data can be accessed directly through methods that return dot counts, positions, binary patterns, and other metadata.

  • For integration with other tools, the output methods generate a complete map of each symbol in formats such as JSON, XML, YAML, and more.

  • The library is still under development, so method signatures may change. We are working to release a stable version as soon as possible.

Purpose of BrailleBase

Standardized Technology

  • Many companies and developers who want to create tools and technologies for blind people face a major barrier: integrating their microsystems with other equipment.
  • BrailleBase is the first library that combines translation, complete metadata, and multiple output formats without external dependencies.

Challenges to Be Addressed

  • Many countries do not have a well‑structured Braille system or documented rules.
  • Understanding these rules, standardizing them, and converting them into a base algorithm usable by subclasses is one of the biggest challenges.
  • Presenting BrailleBase to companies in the accessibility sector is another area we need to improve, especially in communicating the value of the tool.
  • It is also essential to produce educational material and clear documentation, ensuring that both beginners and experienced developers can use BrailleBase without difficulty.

Final Statement

  • This is the first official text of the BrailleBase tool.
  • The system currently includes the Japanese, Portuguese, Arabic, and English alphabets.
  • All letters have been individually verified, but the second‑level rules are still under development.
  • There is still no support for full‑word translation, but this feature is already planned.
  • We are preparing a draft of the Pinyin class.
  • Once the English documentation is completed, the Pinyin class finalized, and the known bugs fixed, we will release the first usable version of the package.
  • From that release onward, the method signatures will become stable, ensuring that updates do not break dependent applications.
  • We do not use external dependencies beyond those provided by default in each programming language.
  • The classes braille, braillebase, braillebasejapanese, braillebaseportuguese, braillebasearabic, and braillebaseenglish have (or will have) CC0, MIT, or Apache 2.0 licenses.

Get in touch through GitHub: https://github.com/DukaCrazy

My name is Duka — and if a project isn’t crazy enough to change the world, it’s probably not mine.

  • 2026/06/24