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

font4social-unicode

v0.1.0

Published

Dependency-free Unicode text style and invisible character helpers from Font4Social.

Readme

font4social-unicode

Dependency-free Unicode text style and invisible character helpers from Font4Social.

This package is a small developer toolkit. It does not include the full Font4Social visual interface or the full style database, but it gives JavaScript projects a simple way to convert plain text into common Unicode styles and generate invisible/blank text.

Full visual tools:

Install

npm install font4social-unicode

Usage

import {
  toUnicodeStyle,
  decorateText,
  blankText,
  getInvisibleCharacter,
  listStyles
} from "font4social-unicode";

toUnicodeStyle("Creator 123", "bold");
// "𝐂𝐫𝐞𝐚𝐭𝐨𝐫 𝟏𝟐𝟑"

toUnicodeStyle("Creator", "fullwidth");
// "Creator"

decorateText("Player", {
  style: "boldItalic",
  prefix: "✦ ",
  suffix: " ✦"
});
// "✦ 𝑷𝒍𝒂𝒚𝒆𝒓 ✦"

blankText("brailleBlank", 3);
// "\u2800\u2800\u2800"

getInvisibleCharacter("zeroWidthSpace");
// "\u200B"

listStyles();
// [{ id: "bold", name: "Bold", ... }, ...]

Included Unicode Styles

  • bold
  • italic
  • boldItalic
  • script
  • scriptBold
  • fraktur
  • frakturBold
  • doubleStruck
  • monospace
  • fullwidth
  • circled

Included Invisible Characters

  • brailleBlank (U+2800)
  • hangulFiller (U+3164)
  • zeroWidthSpace (U+200B)
  • nonBreakingSpace (U+00A0)
  • wordJoiner (U+2060)

Different apps handle invisible Unicode characters differently. Some platforms may trim, block, or normalize them to prevent spam or impersonation. Always test before using them in a profile, bio, message, or game name.

API

toUnicodeStyle(text, styleId)

Converts supported Latin letters and digits into a Unicode style.

toUnicodeStyle("Hello", "monospace");

decorateText(text, options)

Applies a style and optional prefix/suffix.

decorateText("Name", { style: "bold", prefix: "★ ", suffix: " ★" });

blankText(characterId, count)

Returns repeated invisible/blank characters.

blankText("hangulFiller", 5);

getInvisibleCharacter(characterId)

Returns one invisible/blank character.

getInvisibleCharacter("wordJoiner");

listStyles()

Returns metadata for supported text styles.

listInvisibleCharacters()

Returns metadata for supported invisible characters.

Notes

  • This package converts regular Latin A-Z, a-z, and digits where Unicode equivalents exist.
  • Unicode styled text is not a real font file. It is copy-paste text made from Unicode symbols.
  • Screen readers, search, moderation systems, and app rendering may treat styled Unicode text differently from normal text.
  • This package is independent and is not affiliated with Instagram, TikTok, Discord, Steam, Facebook, Apple, Google, Microsoft, or other platforms mentioned.

License

MIT