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

@graphql-hive/federation-gateway-audit

v0.0.2

Published

Audit tool for Apollo Federation Gateway

Readme

Federation-Compatible Gateway Implementations

This repository contains a set of tests to evaluate and compare the compatibility of different GraphQL gateways with Apollo Federation.

🌐 See the results of our audit

📖 Read more about our methodology and why we created this audit

| Gateway | Compatibility | Test Cases | Test Suites | | :---------------------------------------------------------------------------------------------------------: | :-----------: | :----------: | :---------: | | Hive Gateway (Rust QP) | 100.00% | 🟢 192 | 🟢 44 | | Hive Router | 100.00% | 🟢 192 | 🟢 44 | | Hive Gateway | 99.48% | 🟢 191 ❌ 1 | 🟢 43 ❌ 1 | | Apollo Router | 97.40% | 🟢 187 ❌ 5 | 🟢 41 ❌ 3 | | Apollo Gateway | 96.88% | 🟢 186 ❌ 6 | 🟢 40 ❌ 4 | | Cosmo Router | 94.27% | 🟢 181 ❌ 11 | 🟢 37 ❌ 7 | | Grafbase Gateway | 91.67% | 🟢 176 ❌ 16 | 🟢 38 ❌ 6 | | Inigo Gateway | 47.92% | 🟢 92 ❌ 100 | 🟢 12 ❌ 32 |

See the full report

Apollo Federation Coverage

The tests are based on the Apollo Federation specification and cover the following directives:

  • @interfaceObject
  • @key
  • @external
  • @provides
  • @requires
  • @extends
  • @inaccessible
  • @shareable
  • @skip
  • @include
  • @composeDirective
  • @override

Out of scope (limited by Enterprise license of Apollo Router):

We are not able to test the following directives on Apollo Router due to the limitations of the Enterprise license:

  • @authenticated
  • @policy
  • @requiresScopes
  • @override(label:)

We plan to test these directives as soon as we have access to the Enterprise license.


CLI

TODO: we're working on a CLI to make it easier to run the tests, stay tuned!


Instructions

First of all, you need to install and prepare the gateways. You can do this by running the following command:

make install

[!IMPORTANT] Be aware that Node and npm are required to run the whole setup.

Testing all gateways

You can run the tests for each gateway by running the following command:

make test-all

Testing a specific gateway

You can run the tests for a specific gateway by running the following command:

make test-[name of the gateway]

make test-grafbase-gateway
make test-cosmo-router
make test-hive-gateway
make test-hive-gateway-router-runtime
make test-apollo-router

Running a gateway for a single test suite

In case you want to run only a limited set of tests, you can do so by running the following command:

make test-suite-[name of the gateway] TEST_SUITE=[id of the test suite]

Running a gateway for a specific supergraph

There's also the possibility to start a gateway for a selected supergraph, in case you want to run the queries yourself.

make run-[name of the gateway] TEST_SUITE=[id of the test suite]

Contributing or adding a new gateway

See the contributing guide