Skip to content

replacements.fyi - A new module replacements website

April 27, 2026

replacements.fyi cover image

replacements.fyi is live! 🚀

It's a new, focused interface for exploring the e18e module replacements dataset - search any package and instantly see if there's a native equivalent or a community-recommended alternative.

What makes this launch worth writing about isn't just the site though - it's how it got built. From a Discord message to a live site in a couple of days, here's the story.

The idea

The module replacements project provides a community-defined list of npm packages and their recommended alternatives, whether that's replacing with native functionality, small code snippets, or other packages entirely.

This data is already used in various tools today, such as the e18e ESLint plugin, the e18e CLI and npmx.

However, there isn't a great way to explore this data in a more general way. The e18e site has a set of replacement docs, but these only cover a subset of the data as they only list documented replacements. All native and snippet replacements are missing from these docs.

The solution? Build a dedicated site for exploring this data! A place where you can search for packages to see if there are any replacements available, filter by runtime, and view the details of them.

The collaboration

Two weeks ago, I threw the idea out there in the e18e Discord and asked a few people what they thought about it. That same day, @paolo.ricciuti.me jumped on it and already had a basic svelte-powered site up and running by the end of the day! 🔥

In the following days, @AlexanderKaran, Roman, and @dreyfus all joined in the fun and started working on the project with Paolo.

In the last week alone, there have been 26 merged PRs. All of this before we'd even officially announced the project, purely from chatter in the e18e Discord.

This kind of collaboration is always amazing to see. Just a great group of people who care about improving the ecosystem, coming together to build something useful for everyone.

replacements.fyi

The new replacements.fyi site is the result of this collaboration! 🎉

The aim of this site is to be a focused tool just like npmgraph and pkg-size. It doesn't need to do everything, but it should do one thing really well: make it easy to explore, discover, and understand module replacements.

At its core, the site is a simple search interface that allows you to look up any npm package and see if there are any recommended replacements for it.

The data gives us the ability to do more than this though. Unlocked by the work on the upcoming module replacements v3, we can expose filters that allow you to narrow down replacements by runtime. From the runtime itself, to the specific versions you're targeting - plus links to documentation and examples where available.

In a world driven largely by AI agents these days, we've also tried to make the site as agent-friendly as possible. Giving agents direct access to replacement advice means something like Claude can now produce code which leans more towards using native functionality than installing new dependencies.

Prior art: npmx

The npmx site already exposes much of this data when viewing a package. For example, if you view chalk on npmx, you will see a notice telling you that Node natively supports styleText for terminal colours these days.

npmx chalk screenshot

This has greatly improved the visibility of replacements, and has already led to many clean up PRs throughout the ecosystem.

If you want to see more than the replacements of a package, npmx is still a great place to go. In addition to the replacement info, the e18e community has also collaborated with npmx on displaying things like package size changes, security notices, and more.

Future plans

Now that we have the basics sorted, there are a few improvements and features we want to add in the future:

  • Ability to set a preferred runtime version (e.g. Node 20.x) to filter out replacements that require newer versions
  • Ability to view a package's replaceable dependencies (defer to npmx for a deeper dive into the package graph)
  • Improved integration with agentic tools

Get involved

If you want to help out, join the discord. We will be opening issues for these things and more, so all help is very much welcome and appreciated. Even if you just want to give feedback on the site, or suggest a replacement, that would be amazing!

Released under the MIT License. (0ad4d807)