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

unicode-text-styles

v1.0.0

Published

120 Unicode fancy-text styles (bold, script, bubble, gothic, small caps, upside-down, zalgo, …) and a de-fancify table. Same output as fontvibe.ai. Zero dependencies.

Readme

unicode-text-styles

120 Unicode "fancy text" styles — 𝐛𝐨𝐥𝐝, 𝓼𝓬𝓻𝓲𝓹𝓽, Ⓑⓤⓑⓑⓛⓔ, 𝔤𝔬𝔱𝔥𝔦𝔠, ꜱᴍᴀʟʟ ᴄᴀᴘꜱ, ʇxǝʇ uʍop ǝpᴉsdn, zalgo, lookalike scripts, braille, morse — plus defancify() to turn them back into plain text. The same engine as fontvibe.ai/tools/fancy-font-generator, byte for byte. Zero dependencies; under 90 KB of JSON tables.

npm i unicode-text-styles
const { transform, transformAll, defancify } = require('unicode-text-styles');

transform('Hello World', 'math_bold');               // 𝐇𝐞𝐥𝐥𝐨 𝐖𝐨𝐫𝐥𝐝
transform('Top 10', 'circled');                      // Ⓣⓞⓟ ⑩
transform('Hello', 'math_bold+strikethrough');       // chain with "+"
transformAll('Hello');                               // [{ key, label, category, text }, …] × 120
defancify('𝐇𝐞𝐥𝐥𝐨 🅦🅞🅡🅛🅓');                            // Hello WORLD

ESM and TypeScript work out of the box:

import { transform, styles, type Style } from 'unicode-text-styles';

Try it without installing:

npx unicode-text-styles "Hello World"            # every style
npx unicode-text-styles --style math_fraktur Hi
npx unicode-text-styles --defancify "𝐇𝐞𝐥𝐥𝐨"
npx unicode-text-styles --list

API

| | | |---|---| | transform(text, key) | One style. Unmapped characters pass through. Throws on an unknown key. | | transformAll(text, { category? }) | Every style, in fontvibe.ai's order. | | defancify(text) | Styled characters → plain ASCII; strips the combining marks the styles add. | | getStyle(key) | The style's metadata and steps. | | styles, keys, categories | Metadata: label, category, category labels in en/es/pt/de/ja/zh (style names are English only), unicode_age. |

Rendering varies by device and font — preview before you post. Unicode doesn't have every letter in every style (there's no superscript q); missing ones pass through unchanged. defancify also folds real letters of other scripts that lookalike styles borrow (Greek α → a), and can't undo upside-down order. Details, limits and the language-neutral data files: the repository.

License and attribution

Code MIT; the style tables bundled in data/ are CC BY 4.0. If you ship them, please credit:

Text styles from <a href="https://fontvibe.ai/tools/fancy-font-generator">FontVibe</a> ·
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>

rel="nofollow" is fine. Plain text works too: Text styles from FontVibe — https://fontvibe.ai/tools/fancy-font-generator — CC BY 4.0. Please link the site rather than only the repo — it's where your users can actually use them.