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

aesthetically

v0.0.6

Published

A JavaScript module that makes text stylish.

Readme

Table of Contents

Demo

Check out the demo.

Installation

Using jsDelivr:

As an ES6 module:

<script type="module">
  import Aesthetically from "https://cdn.jsdelivr.net/npm/aesthetically@0/dist/aesthetically.js";
</script>

As a normal script:

<script src="https://cdn.jsdelivr.net/npm/aesthetically@0/dist/aesthetically.umd.js"></script>

Self-hosted:

As an ES6 module:

<script type="module">
  import Aesthetically from "/aesthetically.js";
</script>

As a normal script:

<script src="/aesthetically.umd.js"></script>

Using npm:

$ npm i aesthetically

In Node:

As an ES6 module:

import Aesthetically from "aesthetically";

As a CommonJS module:

const Aesthetically = require("aesthetically");

Usage

Getting a list of styles

If your looking for a list of styles, take a look at the table below

styles = Object.keys(Aesthetically.styles);

Styling test

Aesthetically.format("this is v cool", "double-struck");
// "this is v cool"

Arguments

text: (String) text to transform

style: (String) Style to transform text to

Returns

(String) formatted text

Un-styling text

Aesthetically.unformat("𝓹𝓪𝓬𝓶𝓪𝓷 𝓲𝓼 𝓱𝓾𝓷𝓰𝓻𝔂 👾🍔");
// "pacman is hungry 👾🍔"

Arguments

text: (String) text to transform

Returns

(String) unstyled text

Table of styles and support

Not all styles support all types of characters. Some only support lowercase or uppercase. Digits indicate support for 1 - 9 while zero is listed sperately if supported.

Mathematical Alphanumeric Symbols

| Style | Support | Sample | | --------------------- | -------------------------- | ------------------------------------ | | serf-bold | upper, lower, digits, zero | 𝐬𝐩𝐡𝐢𝐧𝐱 𝐨𝐟 𝐛𝐥𝐚𝐜𝐤 𝐪𝐮𝐚𝐫𝐭𝐳, 𝐣𝐮𝐝𝐠𝐞 𝐦𝐲 𝐯𝐨𝐰 | | serf-italic | upper, lower | 𝑠𝑝ℎ𝑖𝑛𝑥 𝑜𝑓 𝑏𝑙𝑎𝑐𝑘 𝑞𝑢𝑎𝑟𝑡𝑧, 𝑗𝑢𝑑𝑔𝑒 𝑚𝑦 𝑣𝑜𝑤 | | serf-bold-italic | upper, lower | 𝒔𝒑𝒉𝒊𝒏𝒙 𝒐𝒇 𝒃𝒍𝒂𝒄𝒌 𝒒𝒖𝒂𝒓𝒕𝒛, 𝒋𝒖𝒅𝒈𝒆 𝒎𝒚 𝒗𝒐𝒘 | | sans-serf | upper, lower, digits, zero | 𝗌𝗉𝗁𝗂𝗇𝗑 𝗈𝖿 𝖻𝗅𝖺𝖼𝗄 𝗊𝗎𝖺𝗋𝗍𝗓, 𝗃𝗎𝖽𝗀𝖾 𝗆𝗒 𝗏𝗈𝗐 | | sans-serf-bold | upper, lower, digits, zero | 𝘀𝗽𝗵𝗶𝗻𝘅 𝗼𝗳 𝗯𝗹𝗮𝗰𝗸 𝗾𝘂𝗮𝗿𝘁𝘇, 𝗷𝘂𝗱𝗴𝗲 𝗺𝘆 𝘃𝗼𝘄 | | sans-serf-italic | upper, lower | 𝘴𝘱𝘩𝘪𝘯𝘹 𝘰𝘧 𝘣𝘭𝘢𝘤𝘬 𝘲𝘶𝘢𝘳𝘵𝘻, 𝘫𝘶𝘥𝘨𝘦 𝘮𝘺 𝘷𝘰𝘸 | | sans-serf-bold-italic | upper, lower | 𝙨𝙥𝙝𝙞𝙣𝙭 𝙤𝙛 𝙗𝙡𝙖𝙘𝙠 𝙦𝙪𝙖𝙧𝙩𝙯, 𝙟𝙪𝙙𝙜𝙚 𝙢𝙮 𝙫𝙤𝙬 | | script | upper, lower | 𝓈𝓅𝒽𝒾𝓃𝓍 ℴ𝒻 𝒷𝓁𝒶𝒸𝓀 𝓆𝓊𝒶𝓇𝓉𝓏, 𝒿𝓊𝒹ℊℯ 𝓂𝓎 𝓋ℴ𝓌 | | script-bold | upper, lower | 𝓼𝓹𝓱𝓲𝓷𝔁 𝓸𝓯 𝓫𝓵𝓪𝓬𝓴 𝓺𝓾𝓪𝓻𝓽𝔃, 𝓳𝓾𝓭𝓰𝓮 𝓶𝔂 𝓿𝓸𝔀 | | fraktur | upper, lower | 𝔰𝔭𝔥𝔦𝔫𝔵 𝔬𝔣 𝔟𝔩𝔞𝔠𝔨 𝔮𝔲𝔞𝔯𝔱𝔷, 𝔧𝔲𝔡𝔤𝔢 𝔪𝔶 𝔳𝔬𝔴 | | fraktur-bold | upper, lower | 𝖘𝖕𝖍𝖎𝖓𝖝 𝖔𝖋 𝖇𝖑𝖆𝖈𝖐 𝖖𝖚𝖆𝖗𝖙𝖟, 𝖏𝖚𝖉𝖌𝖊 𝖒𝖞 𝖛𝖔𝖜 | | monospace | upper, lower, digits, zero | 𝚜𝚙𝚑𝚒𝚗𝚡 𝚘𝚏 𝚋𝚕𝚊𝚌𝚔 𝚚𝚞𝚊𝚛𝚝𝚣, 𝚓𝚞𝚍𝚐𝚎 𝚖𝚢 𝚟𝚘𝚠 | | double-struck | upper, lower, digits, zero | 𝕤𝕡𝕙𝕚𝕟𝕩 𝕠𝕗 𝕓𝕝𝕒𝕔𝕜 𝕢𝕦𝕒𝕣𝕥𝕫, 𝕛𝕦𝕕𝕘𝕖 𝕞𝕪 𝕧𝕠𝕨 |

Enclosed Alphanumerics & Supplement

| Style | Support | Sample | | ------------------- | -------------------------- | ------------------------------------ | | circled | upper, lower, digits, zero | ⓢⓟⓗⓘⓝⓧ ⓞⓕ ⓑⓛⓐⓒⓚ ⓠⓤⓐⓡⓣⓩ, ⓙⓤⓓⓖⓔ ⓜⓨ ⓥⓞⓦ | | negative-circled | upper, zero | 🅢🅟🅗🅘🅝🅧 🅞🅕 🅑🅛🅐🅒🅚 🅠🅤🅐🅡🅣🅩, 🅙🅤🅓🅖🅔 🅜🅨 🅥🅞🅦 | | parenthesized-small | lower, digits | ⒮⒫⒣⒤⒩⒳ ⒪⒡ ⒝⒧⒜⒞⒦ ⒬⒰⒜⒭⒯⒵, ⒥⒰⒟⒢⒠ ⒨⒴ ⒱⒪⒲ | | parenthesized-large | upper | 🄢🄟🄗🄘🄝🄧 🄞🄕 🄑🄛🄐🄒🄚 🄠🄤🄐🄡🄣🄩, 🄙🄤🄓🄖🄔 🄜🄨 🄥🄞🄦 | | squared | upper | 🅂🄿🄷🄸🄽🅇 🄾🄵 🄱🄻🄰🄲🄺 🅀🅄🄰🅁🅃🅉, 🄹🅄🄳🄶🄴 🄼🅈 🅅🄾🅆 | | negative-squared | upper | 🆂🅿🅷🅸🅽🆇 🅾🅵 🅱🅻🅰🅲🅺 🆀🆄🅰🆁🆃🆉, 🅹🆄🅳🅶🅴 🅼🆈 🆅🅾🆆 |

Acknowledgements

This article and this other article were really useful for understanding the way Unicode strings work in JavaScript. The demo uses the awesome Bulma CSS framework <3.

License

MIT License

Copyright (c) 2020 Joshy Nosh

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.