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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@net8cloud/short-prefixes

v1.0.0

Published

This repository contains a list of prefixes for common shorter URLs, so for example, `youtube.com/watch?v=yr_HIrfr7is` just becomes `n8s.uk/~y.yr_HIrfr7is`. This might not look like much of a saving, but when sharing links in places with character limits

Downloads

94

Readme

net8short Prefixes

This repository contains a list of prefixes for common shorter URLs, so for example, youtube.com/watch?v=yr_HIrfr7is just becomes n8s.uk/~y.yr_HIrfr7is. This might not look like much of a saving, but when sharing links in places with character limits (like Twitter or Discord), every character counts!

And the best part: the URLs can be expanded offline and do not rely on any kind of database, so you can just self host your own shortener with just these prefixes.

Combined with a filter list to remove tracking parameters (we recommend this one), you can share clean, short URLs easily.

Usage

You can just paste an URL to the net8 shortener and it will automatically shorten it for you as well as remove tracking parameters.

And if you just want to have a privacy-respecting URL shortener, you can just use the net8 shortener without any prefixes. We don't collect any data about you or the URLs you shorten like some other services do ;)

Contributing

Feel free to open an issue or a pull request if you want to add more prefixes: https://n8s.uk/~gh.net8cloud.short-prefixes.new

All prefixes are stored in the prefixes.json file in this repository, and all entries should be kept in alphabetical order.

Please note that we only accept prefixes for well-known domains and services, so please make sure that the prefix you want to add is widely used.

Although we'll try not to remove or edit any prefixes, we reserve the right to do so if a prefix is found to be inappropriate, misleading or just doesn't work properly anymore. Prefixes to NSFW content are not allowed, althogh mixed platforms like Twitter, Reddit or Discord are fine, we just don't want to link to platforms that are primarily NSFW like "the hub". We might change this policy in the future, but for now, please keep it clean.

Also, no prefix should be longer than 4 characters. If multiple prefixes point to different parts of the same services, please don't make the full prefix longer than 5 characters (like the u (for user) suffix appended might make the prefix 5 characters long).

In addition, prefixes should be kept alphanumerical (a-z, 0-9) only, no special characters. Prefixes should be handeled case-insensitively, but we recommend to use only lowercase characters for consistency.

License

This repository is licensed under the MIT License.

Feel free to use the prefixes in your own projects, but please make sure to give proper credit to the original source.