# @graphql-inspector/url-loader

> Load GraphQL Schema from GraphQL endpoint (introspection)

Latest version **6.0.0** (published 2026-08-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install @graphql-inspector/url-loader
pnpm add @graphql-inspector/url-loader
yarn add @graphql-inspector/url-loader
bun add @graphql-inspector/url-loader
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 6.0.0 |
| Published | 2026-08-20 |
| First published | 2020-04-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.0.0 |
| Dependencies | 2 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 1768 |
| Author | Kamil Kisiela |
| Maintainers | kamilkisiela, ardatan, n1ru4l, theguild-bot |
| Keywords | graphql, graphql-inspector, graphql-inspector-plugin, tools |

## Links

- npm: https://www.npmjs.com/package/@graphql-inspector/url-loader
- Repository: https://github.com/graphql-hive/graphql-inspector
- Homepage: https://github.com/graphql-hive/graphql-inspector#readme
- Issues: https://github.com/graphql-hive/graphql-inspector/issues
- npm.io page: https://npm.io/package/@graphql-inspector/url-loader

## Dependencies (2)

- [tslib](https://npm.io/package/tslib.md) ~2.6.2
- [@graphql-tools/url-loader](https://npm.io/package/@graphql-tools/url-loader.md) ^9.1.7

## Alternatives

- [apollo-link-http-common](https://npm.io/package/apollo-link-http-common.md) — 879.0K weekly downloads
- [react-relay](https://npm.io/package/react-relay.md) — 336.8K weekly downloads
- [relay-test-utils](https://npm.io/package/relay-test-utils.md) — 181.6K weekly downloads
- [@vendure/core](https://npm.io/package/@vendure/core.md) — 14.8K weekly downloads
- [@pnpm/deps.graph-sequencer](https://npm.io/package/@pnpm/deps.graph-sequencer.md) — 13.4K weekly downloads

## Recent versions

- 6.0.0 (latest) — 2026-08-20
- 5.0.1-alpha-20240526150149-d2e93e664e5bff58a330dcba41954fc1ef87f674 (alpha) — 2024-05-26
- 0.0.0-canary.7db8980 (canary) — 2022-09-02
- 2.0.0-rc.2 (next) — 2020-04-21
- 5.0.1 — 2024-05-26
- 5.0.1-alpha-20240526145450-072c7921fb7e2d4e13f34e4d489ce5adb6c50fd5 — 2024-05-26
- 5.0.1-alpha-20240526145123-081ffc3a9d8f4e3cffbf9a7b4456bb8e915d9827 — 2024-05-26
- 5.0.1-alpha-20240526142307-09d3685d9f64ac9bbf9e5dcb36d22c7658b1445d — 2024-05-26
- 5.0.1-alpha-20240526140747-6f220bec19eb5901c5e7d2ed3d92cad67299de5d — 2024-05-26
- 5.0.1-alpha-20240526140449-44b6745c467ac91f53dbaa500b95a133b48256e9 — 2024-05-26
- 5.0.1-alpha-20240526140403-21ae1f3747011f5fcdef817fc19fcfb4d25ecd5c — 2024-05-26
- 5.0.1-alpha-20240526135701-4d71db8336cddeac3902015339ff158f33144bcb — 2024-05-26
- 5.0.1-alpha-20240526135513-4b0c35c96f65d700259e08605d21d239f61406ad — 2024-05-26
- 5.0.1-alpha-20240526135307-0f532b0bdc0a6f7bab7e12fc25a75458a89d4d4a — 2024-05-26
- 5.0.1-alpha-20240526135058-462f0cbf2e41a9cc0921e0a75503c46024ce2a9f — 2024-05-26
- … 250 more at https://npm.io/package/@graphql-inspector/url-loader/versions

## README

[![Inspector](https://user-images.githubusercontent.com/25294569/64163641-50cc9f80-ce4a-11e9-89b0-248c7d12142f.gif)](https://graphql-inspector.com/)

[![npm version](https://badge.fury.io/js/%40graphql-inspector%2Fcli.svg)](https://npmjs.com/package/@graphql-inspector/cli)
[![Docker Pulls](https://img.shields.io/docker/pulls/kamilkisiela/graphql-inspector)](https://hub.docker.com/r/kamilkisiela/graphql-inspector)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![renovate-app badge](https://img.shields.io/badge/renovate-app-blue.svg)](https://renovateapp.com/)
[![Discord Chat](https://img.shields.io/discord/625400653321076807)](https://discord.gg/xud7bH9)

**GraphQL Inspector** outputs a list of changes between two GraphQL schemas. Every change is
precisely explained and marked as breaking, non-breaking or dangerous. It helps you validate
documents and fragments against a schema and even find similar or duplicated types.

> You may like [GraphQL Hive](https://graphql-hive.com) as well!
>
> It's an open-source performance monitoring tool and schema registry for GraphQL.
>
> GraphQL Hive is currently available as a hosted service but it offers self-hosting as well.

Use GraphQL Inspector however you want:

- [**GitHub Application**](https://graphql-inspector.com/install)
- [**GitHub Action**](https://github.com/marketplace/actions/graphql-inspector)
- [**CLI**](https://graphql-inspector.com/docs/installation#cli)
- [**Programmatic API**](https://graphql-inspector.com/docs/installation#programmatic-api)

## Features

- **Compares schemas**
- **Detect breaking or dangerous changes**
- **Schema change notifications**
- **Use serverless functions validate changes**
- **Validates Operations and Fragments against a schema**
- **Finds similar / duplicated types**
- **Schema coverage based on Operations and Fragments**
- **Serves a GraphQL server with faked data and GraphiQL**
- **Docker Image**

## Use on GitHub

![Github](./website/public/assets/img/github/app-action.jpg)

## Use everywhere

![Example](./packages/cli/demo.gif)

## Installation and Usage

Visit our website [**graphql-inspector.com**](https://graphql-inspector.com/) to learn more about
the project.

## Documentation

Documentation is available at
[**graphql-inspector.com/docs**](https://www.graphql-inspector.com/docs).

## Related

Some part of the library was ported to NodeJS from
[Ruby's GraphQL Schema Comparator](https://github.com/xuorig/graphql-schema_comparator)

## Contributions

Contributions, issues and feature requests are very welcome. If you are using this package and fixed
a bug for yourself, please consider submitting a PR!

And if this is your first time contributing to this project, please do read our
[Contributor Workflow Guide](https://github.com/the-guild-org/Stack/blob/master/CONTRIBUTING.md)
before you get started off.

### Code of Conduct

Help us keep GraphQL Inspector open and inclusive. Please read and follow our
[Code of Conduct](https://github.com/the-guild-org/Stack/blob/master/CODE_OF_CONDUCT.md) as adopted
from [Contributor Covenant](https://www.contributor-covenant.org/)

## License

[MIT](https://github.com/graphql-hive/graphql-inspector/blob/master/LICENSE) © Kamil Kisiela

---
_Source: https://npm.io/package/@graphql-inspector/url-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
