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

ring_string

v0.4.1

Published

Convert [a-zA-Z0-9] in a string to their Unicode ring counterparts

Readme

ring_string

Convert a string [a-zA-Z0-9] to its Unicode ring counterparts - Hello, world! 0123 becomes Ⓗⓔⓛⓛⓞ, ⓦⓞⓡⓛⓓ! ⓪①②③.

... what?

$ node
Welcome to Node.js v13.6.0.
Type ".help" for more information.

> const rs = require('ring_string');
undefined

> rs.to_rings('abc, def');
'ⓐⓑⓒ, ⓓⓔⓕ'

> const longer = 'abc, def! ghi: 123 JKL';
undefined

> rs.to_rings(longer);
'ⓐⓑⓒ, ⓓⓔⓕ! ⓖⓗⓘ: ①②③ ⒿⓀⓁ'

W... why?

Well, my use case is simple. I'm internationalizing a webpage.

It's hard to find all the strings, so I'm faking an alternate language by mass-converting them from English to something that looks really different which I can still read.

This way, since English is my definitive language, all I have to do is switch to the fake language, and look for text that isn't garbage. Pow: there's a string I missed.

Also, this means that tooling like playwright can look for missing things with regular expressions, so I can make a robot do it for me. (Admittedly, that needs more tooling which is specific to your i18n kit, so I wrote react-intl-miniparse also.)

When would that even matter?

So let's say I'm doing the internationalization. Over time, I need to not just add the new text that Marketing mailed me to the site, but also keep that up to date over time.

And let's be honest, a lot of that's going to be at 3am.

It's surprisingly difficult to remember to not write in English, and instead to write in {reference_notation}. Sooner or later, one gets into the page.

Worse still, it's hard to find them, because I have to go reconfigure your browser, then visit every page. And the translation tooling isn't going to tell me, because I never told it that string existed in the first place, in the base language, so it has no idea it's missing everywhere else too. And it's not generally until two weeks later, when the modified string table is back from the professional translators, that I have something to test against, and now this one string is something that I've long since forgotten about.

So I find out when my Hindi speaking customer wants to know why the fourth paragraph of the reset password instructions is in German.

So how does this solve first-language string auditing?

This allows me to instantly create a fake language that looks different, that I can read, and that's always up to date, so that I can just open the site in the language test-ring and look for things that are "visually wrong." Pow: there's a string that I haven't yet extracted to the string table.

How does that help?

Sometimes an image (or two, here) speaks a thousand words.

Spot the paragraph missing a translation.