open-index/open-npm huggingface dataset:
npm package: @graphprotocol/gds-utils
Description: General utility functions for The Graph Design System
Author: Edge & Node and contributors
Latest version: 0.2.1

# @graphprotocol/gds-utils

General utility functions for The Graph Design System.

## Installation

```bash
pnpm add @graphprotocol/gds-utils
```

## Utilities

### BigInt Formatting

```ts
import { bigIntToNumber, formatBigInt, numberToBigInt, parseBigInt } from '@graphprotocol/gds-utils'

// Format a BigInt with decimals (precision defaults to 18)
formatBigInt(1000000000000000000n) // "1"
formatBigInt(1500000000000000000n) // "1.5"

// Parse a string to BigInt
parseBigInt('1.5') // 1500000000000000000n

// Convert between BigInt and number
bigIntToNumber(1000000000000000000n) // 1
numberToBigInt(1.5) // 1500000000000000000n

// Custom precision
formatBigInt(1000000n, { precision: 6n }) // "1"
```

### String Utilities

```ts
import { camelToKebab } from '@graphprotocol/gds-utils'

camelToKebab('backgroundColor') // "background-color"
camelToKebab('HTMLElement') // "html-element"
```

### Identicon Generation

```ts
import { createIdenticon } from '@graphprotocol/gds-utils'

// Generate a deterministic identicon SVG from an Ethereum address
const svg = createIdenticon('0x1234...')
```

## License

MIT
npm package: @graphprotocol/graph-tooling-napi-utils-darwin-arm64
Description: This is the **aarch64-apple-darwin** binary for `graph-tooling-napi-utils`
Latest version: 0.1.0

# `graph-tooling-napi-utils-darwin-arm64`

This is the **aarch64-apple-darwin** binary for `graph-tooling-napi-utils`
npm package: @graphprotocol/graph-tooling-napi-utils-darwin-x64
Description: This is the **x86_64-apple-darwin** binary for `graph-tooling-napi-utils`
Latest version: 0.1.0

# `graph-tooling-napi-utils-darwin-x64`

This is the **x86_64-apple-darwin** binary for `graph-tooling-napi-utils`
npm package: @graphprotocol/typesync
Description: Package for generating the mappings used within the hypergraph ecosystem that is used to query for entities on the Knowledge Graph by the grc-20 id's.
Latest version: 0.1.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @graphprotocol/typesync

Package for generating the mappings used within the `hypergraph` ecosystem that is used to query for entities on the Knowledge Graph by the `grc-20` id's.

The `Mapping` is passed to the `<HypergraphSpaceProvider>` from the [@graphprotocol/hypergraph-react](../hypergraph-react/README.md) context to inform the query layer what entities to query from the Knowledge Graph.

This package exposes a function: `generateMapping` that takes the schema with an array of types, each with properties. Both `types` and `properties` have a nullable `knowledgeGraphId` UUID value. If a value is provided, the `type/property` exists on the Knowledge Graph; this value will be plugged into to the `Mapping` values. If the `knowledgeGraphId` value is null, the `type/property` will be created using the `@graphprotocol/grc-20` ops and then returned in the mapping.

## Mapping definition

```ts
import { Id } from '@graphprotocol/grc-20';

export type MappingEntry = {
  typeIds: Array<Id.Id>;
  properties?: {
    [key: string]: Id.Id;
  };
  relations?: {
    [key: string]: Id.Id
  }
};

export type Mapping = {
  [key: string]: MappingEntry;
};
```

## Example

- generated schema

```ts
import { Entity, Type } from '@graphprotocol/hypergraph'

export class Account extends Entity.Class<Account>('Account')({
  username: Type.Text,
  createdAt: Type.Date
}) {}

export class Event extends Entity.Class<Event>('Event')({
  name: Type.Text,
  description: Type.Text,
  speaker: Type.Relation(Account)
}) {}
```

- resuling mapping

```ts
import { Id } from '@graphprotocol/grc-20'
import type { Mapping } from '@graphprotocol/typesync/Mapping'

export const mapping: Mapping = {
  Account: {
    typeIds: [Id.Id('a5fd07b1-120f-46c6-b46f-387ef98396a6')],
    properties: {
      username: Id.Id('994edcff-6996-4a77-9797-a13e5e3efad8'),
      createdAt: Id.Id('64bfba51-a69b-4746-be4b-213214a879fe')
    }
  },
  Event: {
    typeIds: [Id.Id('0349187b-526f-435f-b2bb-9e9caf23127a')],
    properties: {
      name: Id.Id('3808e060-fb4a-4d08-8069-35b8c8a1902b'),
      description: Id.Id('1f0d9007-8da2-4b28-ab9f-3bc0709f4837'),
    },
    relations: {
      speaker: Id.Id('a5fd07b1-120f-46c6-b46f-387ef98396a6')
    }
  }
}
```

## References

- [@graphprotocol/grc-20](https://github.com/graphprotocol/grc-20-ts)
npm package: @graphql-authz/apollo-server-v2-plugin
Description: Apollo Server v2 plugin for graphql-authz
Author: Dmitry Til
Latest version: 1.0.7

# @graphql-authz/apollo-server-plugin-v2

## Configuring Apollo Server

Ensure context parser is configured to perform authentication and add user info to context
  ```ts
  const server = new ApolloServer({
    ...
    context: ({ req }) => {
      return {
        user: someHowAuthenticateUser(req.get("authorization"))),
      };
    },
    ...
  });
  ```

### For Directives usage

Add plugin and directive visitor to apollo-server
  ```ts
    import { authZApolloPlugin, AuthZDirectiveVisitor } from "@graphql-authz/apollo-server-plugin";

    const server = new ApolloServer({
      ...
      plugins: [authZApolloPlugin({ rules })],
      schemaDirectives: { authz: AuthZDirectiveVisitor },
      ...
    });
  ```


### For Extensions usage

Add plugin to apollo-server
  ```ts
    import { authZApolloPlugin } from "@graphql-authz/apollo-server-plugin";;

    const server = new ApolloServer({
      ...
      plugins: [authZApolloPlugin({ rules })],
      ...
    });
  ```
### For AuthSchema usage

Add plugin to apollo-server with an additional parameter `authSchema` 
  ```ts
    import { authZApolloPlugin } from "@graphql-authz/apollo-server-plugin";;

    const server = new ApolloServer({
      ...
      plugins: [authZApolloPlugin({ rules, authSchema })],
      ...
    });
  ```
npm package: @graphql-authz/envelop-plugin
Description: Envelop plugin for graphql-authz
Author: Dmitry Til
Latest version: 1.0.7

# @graphql-authz/envelop-plugin

## Configuring for Envelop

Ensure context parser is configured to perform authentication and add user info to context
```ts
  const getEnveloped = envelop({
    plugins: [
      ...
      useExtendContext(req => ({
        user: someHowAuthenticateUser(req.get("authorization"))),
      })),
      ...
    ]
  });

```

or

```ts
  getEnveloped({
    user: someHowAuthenticateUser(req.get("authorization"))),
  });

```

Add plugin to envelop
  ```ts
    import { authZEnvelopPlugin } from "@graphql-authz/envelop-plugin";
    
    const getEnveloped = envelop({
      plugins: [
        ...
        authZEnvelopPlugin({ rules })
        ...
      ]
    });
  ```


### For Directives usage

Apply directive transformer to schema
  ```ts
  import { authZDirective } from '@graphql-authz/directive';
  import { authZEnvelopPlugin } from "@graphql-authz/envelop-plugin";

  const { authZDirectiveTransformer } = authZDirective();

  const transformedSchema = authZDirectiveTransformer(schema);

  const getEnveloped = envelop({
    plugins: [
      useSchema(transformedSchema),
      authZEnvelopPlugin({ rules })
      ...
    ]
  });
  ```

### For AuthSchema usage

Pass additional parameter `authSchema` to `authZEnvelopPlugin`
  ```ts
  import { authZEnvelopPlugin } from "@graphql-authz/envelop-plugin";
    
  const getEnveloped = envelop({
    plugins: [
      ...
      authZEnvelopPlugin({ rules, authSchema })
      ...
    ]
  });
  ```
npm package: @graphql-box/cli
Description: The GraphQL Box CLI module.
Author: Dylan Aubrey
Latest version: 4.1.5

# @graphql-box/cli

The GraphQL Box CLI module.

[![npm version](https://badge.fury.io/js/%40graphql-box%2Fcli.svg)](https://badge.fury.io/js/%40graphql-box%2Fcli)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

## Installation

```bash
yarn add @graphql-box/cli
```

## Usage

Read the GraphQL Box [usage guide](../../README.md#usage).

## Documentation

Read the module API [documentation](docs/README.md).
npm package: @graphql-box/websocket-manager
Description: The GraphQL Box websocket manager module.
Author: miami-man
Latest version: 5.4.13

# @graphql-box/websocket-manager

The GraphQL Box websocket manager module.

[![npm version](https://badge.fury.io/js/%40graphql-box%2Fwebsocket-manager.svg)](https://badge.fury.io/js/%40graphql-box%2Fwebsocket-manager)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

## Installation

```bash
npm add @graphql-box/websocket-manager
```

## Usage

Read the GraphQL Box [usage guide](../../README.md#usage).
npm package: @graphql-codegen/flutter-freezed
Description: GraphQL Code Generator plugin to generate Freezed models from your GraphQL schema
Author: Parables Boltnoel
Latest version: 5.0.0

# flutter-freezed

Boost 🚀 your development of Dart/Flutter apps using a GraphQL API by generating models directly
from your GraphQL Schema.

Currently, this plugin only generates [Freezed](https://pub.dev/packages/freezed) models, but work
is ongoing to make it way easier to work with GraphQL by scaffolding an entire GraphQL client with
support for Queries, Mutations and Subscriptions taking huge inspiration from
[KitQL](https://www.kitql.dev/)

## TL;DR

The `flutter-freezed` plugin generates [Freezed](https://pub.dev/packages/freezed) models from a
GraphQL Schema.

## Getting Started

Head over to the
[getting started guide](https://the-guild.dev/graphql/codegen/docs/guides/flutter-freezed#getting-started)
to learn how to get started using this plugin in your Dart/Flutter projects.

For more advanced configuration, please refer to the
[plugin documentation](https://the-guild.dev/graphql/codegen/plugins/dart/flutter-freezed).

## Issues

Found a bug, confused about something, got a suggestion?

Please
[create a new issue](https://github.com/dotansimha/graphql-code-generator-community/issues/new/choose),
and tag/mention me `@Parables` in the issue so that I can address the issue as soon as possible.

## PRs are welcomed

This started as a plugin, but eventually we hope to make it way easier to use GraphQL in your
Flutter apps.

This plugin is found in the
[graphql-code-generator-community](https://github.com/dotansimha/graphql-code-generator-community)
npm package: @graphql-conductor/lib-linux-x64-gnu
Description: Conductor is a cutting-edge, open-source GraphQL Gateway, fully compliant with the GraphQL specification and 
Latest version: 0.0.6-alpha.5

# `@graphql-conductor/lib-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `@graphql-conductor/lib`
npm package: @graphql-debugger/adapter-base
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/adapter-base

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fclient.svg)](https://badge.fury.io/js/@graphql-debugger%2Fclient) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

Base adapter for GraphQL Debugger. It is used to create new adapters.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/adapter-sqlite
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/adapter-sqlite

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fclient.svg)](https://badge.fury.io/js/@graphql-debugger%2Fclient) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

SQLite adapter for GraphQL Debugger, it uses prisma client to connect to the database.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/graphql-fragments
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/graphql-fragments

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fgraphql-fragments.svg)](https://badge.fury.io/js/@graphql-debugger%2Fgraphql-fragments) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

This package contains the GraphQL fragments the GraphQL Debugger GraphQL Schema.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/opentelemetry
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/opentelemetry

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fopentelemetry.svg)](https://badge.fury.io/js/@graphql-debugger%2Fopentelemetry) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

This package exports opentelemetry methods and types for GraphQL Debugger.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/plugin-express
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/plugin-express

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fplugin-express.svg)](https://badge.fury.io/js/@graphql-debugger%2Fplugin-express) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

Express middleware for GraphQL Debugger.

The express middleware will add a span at the root of the trace for each http request to your GraphQL server.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/queue
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/queue

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fqueue.svg)](https://badge.fury.io/js/@graphql-debugger%2Fqueue) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

This package contains a queue implementation for GraphQL Debugger.

When the trace schema exports spans to the collector or when it posts the schema, thoes are added to the queue.

This is done to avoid overloading the database with requests.

For now we only support in memory queue, but we plan to add a redis queue in the future.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/schemas
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/schemas

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fschemas.svg)](https://badge.fury.io/js/@graphql-debugger%2Fschemas) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

Contains zod schemas for GraphQL Debugger.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/time
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/time

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Ftime.svg)](https://badge.fury.io/js/@graphql-debugger%2Ftime) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

The [collector](https://github.com/rocket-connect/graphql-debugger/tree/main/packages/collector-proxy) `/v1/traces` endpoint receives the following Unix Nano timestamps:

1. `startTimeUnixNano` - the time when the span started
2. `endTimeUnixNano` - the time when the span ended

The `@graphql-debugger/time` package provides functions to, store, convert and calculate the difference and offset between these timestamps plus other date and time related functions.

> The package comes bundeled with moment aswell as other Date and Number libraries. We should use this package when working with dates and times.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/types
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/types

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Ftypes.svg)](https://badge.fury.io/js/@graphql-debugger%2Ftypes) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

Contains types for GraphQL Debugger.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/ui
Description: [![npm version](https://badge.fury.io/js/@graphql-debugger%2Fui.svg)](https://badge.fury.io/js/@graphql-debugger%2Fui) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/ui

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Fui.svg)](https://badge.fury.io/js/@graphql-debugger%2Fui) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

[graphql-debugger.com](http://www.graphql-debugger.com)

## About

This is the user interface for the GraphQL Debugger collector.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-debugger/utils
Description: - [graphql-debugger.com](http://www.graphql-debugger.com)
Latest version: 0.0.0-alpha.109

# @graphql-debugger/utils

- [graphql-debugger.com](http://www.graphql-debugger.com)

[![npm version](https://badge.fury.io/js/@graphql-debugger%2Futils.svg)](https://badge.fury.io/js/@graphql-debugger%2Futils) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## About

Utilities for GraphQL Debugger.

## License

MIT - Rocket Connect - https://github.com/rocket-connect
npm package: @graphql-edge/proxy
Description: Make your graphql server secure and blazingly fast 🚀🚀
Author: IlijaNL
Latest version: 1.0.0

# (WIP) GraphQL Edge Proxy

Make your graphql server secure and blazingly fast 🚀🚀

## Install

    yarn install @graphql-edge/proxy

## Usage

## Other usage

For more usage checkout the `/tests/*` directory
npm package: @graphql-ez/client
Description: Fully feature GraphQL Client for Node.js
Author: PabloSz
Latest version: 0.6.2

# @graphql-ez/client

Fully feature GraphQL Client for Node.js

## Features

- [x] [@graphql-typed-document-node](https://www.npmjs.com/package/@graphql-typed-document-node/core) support
- [x] High performance HTTP/s using [undici](https://github.com/nodejs/undici)
- [x] [graphql-ws](https://github.com/enisdenjo/graphql-ws) support
- [x] Legacy [subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws) support
- [x] [Defer and Stream](https://github.com/graphql/graphql-js/pull/2319) support
- [x] [graphql-helix](https://github.com/contra/graphql-helix) SSE support
- [x] [GraphQL Upload](https://github.com/jaydenseric/graphql-upload) support

> By default if you only use the traditional GraphQL over HTTP, any other external dependency is not imported

## Usage

```ts
import { EZClient } from '@graphql-ez/client';

export const ezClient = EZClient({
  endpoint: 'http://localhost:8080/api/graphql',
});
```

### HTTP

```ts
await ezClient.query('query($n: Int!) { hello(n: $n) }', {
  variables: {
    n: 10,
  },
  // "POST" by default
  method: 'GET',
});

await ezClient.mutation('mutation { hello }', {
  headers: {
    authorization: 'foo',
  },
});

// Automatically throw if any error is returned
await ezClient.assertedQuery('mutation { hello }', {
  // ...
});
```

### Websockets

#### graphql-ws

```ts
const { iterator, unsubscribe } = ezClient.websockets.subscribe('subscription{ping}');

for await (const value of iterator) {
  console.log(value);
}

await unsubscribe();

(await ezClient.websockets.client).dispose();
```

#### Legacy subscriptions-transport-ws

```ts
const { iterator, unsubscribe } = ezClient.websockets.legacy.subscribe('subscription{ping}');

for await (const value of iterator) {
  console.log(value);
}

await unsubscribe();

(await ezClient.websockets.legacy.client).close();
```

### Defer and Stream

```ts
const { iterator } = ezClient.stream('{stream @stream(initialCount: 1)}');

let i = 0;
for await (const value of iterator) {
  switch (++i) {
    case 1:
      expect(value).toContain(`{"data":{"stream":["A"]},"hasNext":true}`);
      break;
    case 2:
      expect(value).toContain(`{"data":"B","path":["stream",1],"hasNext":true}`);
      break;
    case 3:
      expect(value).toContain(`{"data":"C","path":["stream",2],"hasNext":true}`);
      break;
  }
}
```

### SSE

```ts
const { iterator, unsubscribe } = ezClient.sseSubscribe('subscription{ping}');

for await (const value of iterator) {
  console.log(value);
}

await unsubscribe();
```

### GraphQL Upload

```ts
const { data, errors } = await ezClient.uploadQuery('mutation($file: Upload!) { uploadFile(file:$file) }', {
  variables: {
    file: Buffer.from('hello-world'),
  },
});
```

## LICENSE

MIT
npm package: @graphql-ez/cloudflare
Description: Integration with [Cloudflare Workers](https://workers.cloudflare.com/) using [Worktop](https://github.com/lukeed/worktop) framework
Author: PabloSz
Latest version: 0.3.1

# @graphql-ez/cloudflare

Integration with [Cloudflare Workers](https://workers.cloudflare.com/) using [Worktop](https://github.com/lukeed/worktop) framework

Check https://www.graphql-ez.com for more information
npm package: @graphql-ez/plugin-scalars
Description: Integration with [GraphQL Scalars](https://www.graphql-scalars.dev/)
Author: PabloSz
Latest version: 0.8.1

# @graphql-ez/plugin-scalars

Integration with [GraphQL Scalars](https://www.graphql-scalars.dev/)

Currently this plugin requires the presence of [Schema Plugin](https://www.graphql-ez.com/plugins/schema) or [GraphQL Modules Plugin](https://www.graphql-ez.com/plugins/graphql-scalars) in the same EZ App.

## Usage

Check the [GraphQL Scalars website docs](https://www.graphql-scalars.dev/docs) to see all available scalars, of you can inspect the types of the plugin

```ts
import { ezScalars } from '@graphql-ez/plugin-scalars';

const ezApp = CreateApp({
  ez: {
    plugins: [
      // ...
      ezScalars({
        // ...
      }),
    ],
  },
  // ...
});
```

This plugin accepts different syntaxes:

### Wildcard

If you specify "\*", every scalar is added to you GraphQL Schema.

```ts
ezScalars('*');
```

### Array

```ts
ezScalars(['DateTime', 'JSONObject']);
```

### Object

```ts
ezScalars({
  // You can use `1` | `0`
  DateTime: 1,
  // or `true` | `false`
  JSONObject: true,
});
```

### Custom Scalars / Override Resolvers

You can specify `custom scalars` or `override the existing scalars resolvers` with the second options parameter:

```ts
import { GraphQLScalarType } from 'graphql';

ezScalars(
  {
    DateTime: 1,
  },
  // Custom Scalars / Override
  {
    DateTime: new GraphQLScalarType({
      name: 'DateTime',
      // ...
    }),

    // New Custom Scalar
    IntID: new GraphQLScalarType({
      name: 'IntID',
      // ...
    }),
  }
);
```
npm package: @graphql-ez/plugin-sse
Description: Integration with [graphql-sse](https://github.com/enisdenjo/graphql-sse) - [GraphQL over Server-Sent Events Protocol](https://github.com/enisdenjo/graphql-sse/blob/master/PROTOCOL.md)
Author: PabloSz
Latest version: 0.3.1

# @graphql-ez/plugin-sse

Integration with [graphql-sse](https://github.com/enisdenjo/graphql-sse) - [GraphQL over Server-Sent Events Protocol](https://github.com/enisdenjo/graphql-sse/blob/master/PROTOCOL.md)

## Compatibility

This plugins supports:

- [Fastify](https://www.graphql-ez.com/docs/integrations/fastify)
- [Express](https://www.graphql-ez.com/docs/integrations/express)
- [Koa](https://www.graphql-ez.com/docs/integrations/koa)
- [Node.js HTTP](https://www.graphql-ez.com/docs/integrations/http)
- [Hapi](https://www.graphql-ez.com/docs/integrations/hapi)

## Options

Check [HandlerOptions graphql-sse docs](https://github.com/enisdenjo/graphql-sse/blob/master/docs/interfaces/handler.HandlerOptions.md) for some information, from there, you can ignore `'execute'`, `'subscribe'`, `'validate'`, `'onSubscribe'`, `'schema'` and `'context'`

## Usage

```ts
import { ezSSE } from '@graphql-ez/plugin-sse';

const ezApp = CreateApp({
  ez: {
    plugins: [
      ezSSE({
        options: {
          // ...
        },
        // "/graphql/stream" is the default
        path: '/graphql/stream',
      }),
      // ...
    ],
  },
  // ...
});
```

## Credits

Thanks to [@enisdenjo](https://github.com/enisdenjo) for working on this awesome library and protocol
npm package: @graphql-ez/plugin-upload
Description: Integration with [GraphQL Upload](https://github.com/jaydenseric/graphql-upload)
Author: PabloSz
Latest version: 0.8.1

# @graphql-ez/plugin-upload

Integration with [GraphQL Upload](https://github.com/jaydenseric/graphql-upload)

## Compatibility

This plugin currently only supports [Fastify](https://www.graphql-ez.com/docs/integrations/fastify), [Express](https://www.graphql-ez.com/docs/integrations/express) and [Koa](https://www.graphql-ez.com/docs/integrations/koa). If you really need this plugin in another integration, feel free to create [an issue](https://github.com/PabloSzx/graphql-ez/issues) or [a PR](https://github.com/PabloSzx/graphql-ez/pulls) proposing the solution.

## Usage

> Make sure to have installed [graphql-upload](https://www.npmjs.com/package/graphql-upload) and [@types/graphql-upload](https://www.npmjs.com/package/@types/graphql-upload), since these are set as [Peer Dependencies](https://nodejs.org/es/blog/npm/peer-dependencies/)

> This plugin integrates automatically with the [GraphQL Codegen plugin](https://www.graphql-ez.com/plugins/codegen)

```ts
import { ezUpload } from '@graphql-ez/plugin-upload';

const ezApp = CreateApp({
  ez: {
    plugins: [
      // ...
      ezUpload({
        // UploadOptions
      }),
    ],
  },
  // ...
});
```

```ts
export interface UploadOptions {
  maxFieldSize?: number;
  maxFileSize?: number;
  maxFiles?: number;
}
```

```ts
// You also can use a helper exported from this plugin
// that automatically converts the graphql-upload ReadStream
// into a more developer-friendly "Buffer"
import { readStreamToBuffer } from '@graphql-ez/plugin-upload';

// ...
({
  // ...
  typeDefs: [
    // ...
    gql`
      type Mutation {
        uploadFileToBase64(file: Upload!): String!
      }
    `,
  ],
  resolvers: {
    // ...
    Mutation: {
      async uploadFileToBase64(_root, { file }, _ctx) {
        const fileBuffer = await readStreamToBuffer(file);

        return fileBuffer.toString('base64');
      },
    },
  },
});
```
npm package: @graphql-gene/plugin-sequelize
Description: Generates automatically an executable schema out of your Sequelize models
Latest version: 1.2.3

# `@graphql-gene/plugin-sequelize`

[![TypeScript][typescript-src]][typescript-href]
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]

Generates automatically an executable schema out of your Sequelize models.

See `graphql-gene` [README](https://github.com/accesimpot/graphql-gene#readme) for details.

<br>

❤️ Provided by [Accès Impôt](https://www.acces-impot.com)'s engineering team

| <a href="https://www.acces-impot.com" target="_blank"><img width="338" alt="Accès Impôt" src="https://github.com/user-attachments/assets/79aa6364-51d1-4482-b31e-680568d647f0"></a> |
| :---: |
| 🇨🇦 _Online tax declaration service_ 🇨🇦 |

<!-- Badges -->

[typescript-src]: https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg
[typescript-href]: http://www.typescriptlang.org/
[npm-version-src]: https://img.shields.io/npm/v/@graphql-gene/plugin-sequelize/latest.svg?style=flat&colorA=020420&colorB=00DC82
[npm-version-href]: https://npmjs.com/package/@graphql-gene/plugin-sequelize
[npm-downloads-src]: https://img.shields.io/npm/dm/@graphql-gene/plugin-sequelize.svg?style=flat&colorA=020420&colorB=00DC82
[npm-downloads-href]: https://npmjs.com/package/@graphql-gene/plugin-sequelize
[license-src]: https://img.shields.io/npm/l/@graphql-gene/plugin-sequelize.svg?style=flat&colorA=020420&colorB=00DC82
[license-href]: https://npmjs.com/package/@graphql-gene/plugin-sequelize
npm package: @graphql-inspector/github
Description: GraphQL Inspector's Probot. Compare GraphQL Schemas, check documents, find breaking changes, find similar types.
Author: Kamil Kisiela
Latest version: 4.0.1
Deprecated: This package has been deprecated and is no longer maintained. We recommend migrating to an alternative package or solution to ensure continued support and compatibility. Thank you for using this package, and we apologize for any inconvenience. For alternatives and more information, please visit the GitHub issue - https://github.com/kamilkisiela/graphql-inspector/issues/2648 or GraphQL Inspector docs - https://the-guild.dev/graphql/inspector/docs.
npm package: @graphql-inspector/patch
Description: Applies changes output from @graphql-inspect/diff
Author: Jeff Dolle
Latest version: 0.1.3

# GraphQL Change Patch

This package applies a list of changes (output from `@graphql-inspector/core`'s `diff`) to a GraphQL Schema.

## Usage

```typescript
import { buildSchema } from "graphql";
import { diff } from "@graphql-inspector/core";
import { patchSchema } from "@graphql-inspector/patch";

const schemaA = buildSchema(before, { assumeValid: true, assumeValidSDL: true });
const schemaB = buildSchema(after, { assumeValid: true, assumeValidSDL: true });

const changes = await diff(schemaA, schemaB);
const patched = patchSchema(schemaA, changes);
```

## Configuration

### `debug?: boolean`

> Enables debug logging

### `onError?: (err: Error, change: Change<any>) => void`

> Define how you want errors to be handled. This package exports three predefined error handlers: `errors.strictErrorHandler`, `errors.defaultErrorHandler`, and `errors.looseErrorHandler`. Strict is recommended if you want to manually resolve value conflicts.

> [!CAUTION]
> Error classes are still being actively improved. It's recommended to use one of the exported error functions rather than build your own at this time.

#### `defaultErrorHandler`

A convenient, semi-strict error handler. This ignores "no-op" errors -- if
the change wouldn't impact the patched schema at all. And it ignores
value mismatches, which are when the change notices that the value captured in
the change doesn't match the value in the patched schema.

For example, if the change indicates the default value WAS "foo" before being
changed, but the patch is applied to a schema where the default value is "bar".
This is useful to avoid overwriting changes unknowingly that may have occurred
from other sources.

#### `strictErrorHandler`

The strictest of the standard error handlers. This checks if the error is a "No-op",
meaning if the change wouldn't impact the schema at all, and ignores the error
only in this one case. Otherwise, the error is raised.

#### `looseErrorHandler`

The least strict error handler. This will only log errors and will never
raise an error. This is potentially useful for getting a patched schema
rendered, and then handling the conflict/error in a separate step. E.g.
if creating a merge conflict resolution UI.

## Remaining Work

- [] Support type extensions
- [] Fully support schema operation types
npm package: @graphql-markdown/cli
Description: NodeJS CLI for generating Markdown documentation from a GraphQL schema.
Author: Gregory Heitz
Latest version: 0.7.1

# @graphql-markdown/cli

[![Latest Version](https://img.shields.io/npm/v/@graphql-markdown/cli?style=flat)](https://www.npmjs.com/package/@graphql-markdown/cli)
[![GitHub License](https://img.shields.io/github/license/graphql-markdown/graphql-markdown?style=flat)](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_cli&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_cli)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_cli&metric=coverage)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_cli)
[![Mutation Score](https://img.shields.io/endpoint?label=mutation%20score&style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fgraphql-markdown%2Fgraphql-markdown%2Fmain%3Fmodule%3Dcli)](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=cli)

Command-line interface for generating **Markdown documentation** from **GraphQL schemas**. Part of the [GraphQL-Markdown](https://graphql-markdown.dev) toolset.

## Installation

```shell
npm install -g @graphql-markdown/cli
```

## Quick Start

Create a [GraphQL-Config file](https://graphql-markdown.dev/docs/configuration#graphql-config) and run:

```shell
npx gqlmd graphql-to-doc
```

## Documentation

- [Configuration Options](https://graphql-markdown.dev/docs/settings)
- [CLI Usage Guide](https://graphql-markdown.dev/docs/cli)
- [Troubleshooting](https://graphql-markdown.dev/docs/troubleshooting)

## License

GraphQL-Markdown packages are 100% free and open-source, under the [MIT license](https://github.com/graphql-markdown/graphql-markdown/blob/main/LICENSE).

This package is [Treeware](https://treeware.earth). If you use it in production, then we ask that you [**buy the world a tree**](https://plant.treeware.earth/graphql-markdown/graphql-markdown) to thank us for our work. By contributing to the Treeware forest you'll be creating employment for local families and restoring wildlife habitats.
npm package: @graphql-markdown/diff
Description: GraphQL-Markdown diff package.
Author: Gregory Heitz
Latest version: 1.1.14

# @graphql-markdown/diff

[![Latest Version](https://img.shields.io/npm/v/@graphql-markdown/diff?style=flat)](https://www.npmjs.com/package/@graphql-markdown/diff)
[![GitHub License](https://img.shields.io/github/license/graphql-markdown/graphql-markdown?style=flat)](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_diff&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_diff)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_diff&metric=coverage)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_diff)
[![Mutation Score](https://img.shields.io/endpoint?label=mutation%20score&style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fgraphql-markdown%2Fgraphql-markdown%2Fmain%3Fmodule%3Ddiff)](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=diff)
npm package: @graphql-markdown/helpers
Description: GraphQL-Markdown customization helpers.
Author: Gregory Heitz
Latest version: 1.0.13

# @graphql-markdown/helpers

[![Latest Version](https://img.shields.io/npm/v/@graphql-markdown/helpers?style=flat)](https://www.npmjs.com/package/@graphql-markdown/helpers)
[![GitHub License](https://img.shields.io/github/license/graphql-markdown/graphql-markdown?style=flat)](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_helpers&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_helpers)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_helpers&metric=coverage)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_helpers)
[![Mutation Score](https://img.shields.io/endpoint?label=mutation%20score&style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fgraphql-markdown%2Fgraphql-markdown%2Fmain%3Fmodule%3Dhelpers)](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=helpers)
npm package: @graphql-markdown/utils
Description: GraphQL-Markdown common libraries.
Author: Gregory Heitz
Latest version: 1.11.0

# @graphql-markdown/utils

[![Latest Version](https://img.shields.io/npm/v/@graphql-markdown/utils?style=flat)](https://www.npmjs.com/package/@graphql-markdown/utils)
[![GitHub License](https://img.shields.io/github/license/graphql-markdown/graphql-markdown?style=flat)](https://raw.githubusercontent.com/graphql-markdown/graphql-markdown/main/LICENSE)
[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_utils&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_utils)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=graphql-markdown_utils&metric=coverage)](https://sonarcloud.io/summary/new_code?id=graphql-markdown_utils)
[![Mutation Score](https://img.shields.io/endpoint?label=mutation%20score&style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fgraphql-markdown%2Fgraphql-markdown%2Fmain%3Fmodule%3Dutils)](https://dashboard.stryker-mutator.io/reports/github.com/graphql-markdown/graphql-markdown/main?module=utils)

## Modules

- [array](docs/array.md)
- [fs](docs/fs.md)
- [object](docs/object.md)
- [prettier](docs/prettier.md)
- [string](docs/string.md)
- [url](docs/url.md)
npm package: @graphql-mesh-plus/federation
Description: This plugin is a handler, transform, and merger.
Latest version: 0.0.5

# Federation

This plugin is a handler, transform, and merger.

## Handler

When used as a handler, this plugin will build a federated schema from external typedefs and resolvers.

> ### Config API Reference
>
> - `typedefs` (`string`, required): the file path containing the schema typeDefs.
> - `resolvers` (`string`, required): the file path containing the schema's exported resolvers object (e.g. `./my-schema#resolvers`).

## Transform

When used as a transform, this plugin will add federation definitions to an existing schema. It behaves identically to the standard `@graphql-mesh/transform-federation` plugin. See the [docs](https://graphql-mesh.com/docs/transforms/federation) for the config api reference.

## Merger

When used as a merger, this plugin will merge federated schemas together using the Apollo Gateway. It behaves identically to the standard `@graphql-mesh/merger-federation` plugin. It does not take any configs.
npm package: @graphql-mocks/faker
Description: Fake GraphQL queries with graphql-mocks and faker.js
Author: Chad Carbert
Latest version: 0.3.0
Deprecated: @graphql-mocks/faker has been deprecated since faker.js is unmaintained. Please migrate to @graphql-mocks/falso. See http://www.graphql-mocks.com/docs/guides/fake-data\#migrating-from-fakerjs-to-the-falso-middleware

ERROR: No README data found!
npm package: @graphql-mocks/falso
Description: Fake GraphQL queries with graphql-mocks and Falso
Latest version: 0.8.0

# `@graphql-mocks/falso`

This package provides a Falso middleware and field resolver that can be used, along with the core `graphql-mocks` package, to automatically mock data with some applied heuristics, too. For more information and examples check out the [documentation](http://www.graphql-mocks.com/docs/guides/fake-data).

---

* [GraphQL Mocks](http://www.graphql-mocks.com)
* [API Documentation](http://www.graphql-mocks.com/api/falso/)
* [`@graphql-mocks/falso` documentation](http://www.graphql-mocks.com/docs/guides/fake-data)
* References
  * [Introducing Resolver Map Middlewares](http://www.graphql-mocks.com/docs/resolver-map/introducing-middlewares)
npm package: @graphql-mocks/network-playwright
Description: Mock using graphql-mocks with Playwright
Latest version: 0.3.0

# `@graphql-mocks/network-playwright`

This package provides a [Network Handler](http://www.graphql-mocks.com/docs/network/introducing-network-handlers) in the
form of a Playwright route handler to integrate GraphQL Mocks with [Playwright](https://playwright.dev/). This method
allows for full GraphQL Mocking in Playwright tests.

---

- [GraphQL Mocks](http://www.graphql-mocks.com)
- [API Documentation](http://www.graphql-mocks.com/api/network-playwright)
- [`@graphql-mocks/network-playwright` documentation](http://www.graphql-mocks.com/docs/network/playwright)
- References
  - [Introducing Network Handlers](http://www.graphql-mocks.com/docs/network/introducing-network-handlers)
  - [Playwright](https://playwright.dev/)
npm package: @graphql-mocks/sinon
Description: Mock using graphql-mocks with sinon spy
Latest version: 0.6.0

# `@graphql-mocks/sinon`

This package provides a Resolver Wrapper for installing [sinon spies](https://sinonjs.org/releases/latest/spies/) on specified resolvers. This is useful during testing to assert that resolvers were called a certain number of times or called with certain arguments, or other features provided by sinon. See the [documentation](http://www.graphql-mocks.com/docs/resolver/available-wrappers#spy-wrapper) on how to access and use the spies.

---

* [GraphQL Mocks](http://www.graphql-mocks.com)
* [API Documentation](http://www.graphql-mocks.com/api/sinon/)
* References
  * [`@graphql-mocks/sinon` documentation](http://www.graphql-mocks.com/docs/resolver/available-wrappers#spy-wrapper)
  * [Introducing Resolver Wrappers](http://www.graphql-mocks.com/docs/resolver/introducing-wrappers)
  * [Sinon.js](https://sinonjs.org)
npm package: @graphql-pagination/apollo-datasource
Description: GraphQL Pagination - Apollo Datasource integration
Author: Libor Krzyzanek
Latest version: 1.2.5

# GraphQL Pagination / Apollo Datasource integration

Module integrates GraphQL Pagination and [Apollo Datasources](https://www.apollographql.com/docs/apollo-server/data/data-sources/).

## Usage

```js
// BookConnection is generated by DataSourcePager
const typeDefs = gql`
    type Book {
        id: ID!
        title: String
        author: String
        published: DateTime
    }
    type Query {
        booksAsc(first: Int = 10 after: String): BookConnection
        booksDesc(last: Int = 10 before: String): BookConnection
    }
`;

const resolvers = {
    Query: {
        booksAsc: (_, args, { dataSources }) => dataSources.pager.forwardResolver(args),
        booksDesc: (_, args, { dataSources }) => dataSources.pager.backwardResolver(args),
    },
};

const apolloBooksPager = new ApolloDataSourcePager({
    dataSource: new ArrayDataSource(books, "id"),
    typeName: "Book",
});

const createApolloServer = () => {
    return new ApolloServer({
        typeDefs: [
            typeDefs,
            apolloBooksPager.typeDefs, // BookConnection, BookEdge, PageInfo typeDefs
            scalarTypeDefs, // for DateTime
        ],
        resolvers: [
            resolvers,
            scalarResolvers, // for DateTime
        ],
        dataSources: () => {
            return {
                pager: apolloBooksPager,
            };
        },
    });
};
```

See fully working example in [examples/apollo-datasource](../../examples/apollo-datasource).
npm package: @graphql-portal/gateway
Description: [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier) ![Test](https://github.com/code-store-platform/graphql-portal/workflows/Test/badge.svg) [![FOSSA Status](https:/
Author: code.store
Latest version: 0.23.11

# GraphQL Portal Gateway

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
![Test](https://github.com/code-store-platform/graphql-portal/workflows/Test/badge.svg)
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fcode-store-platform%2Fgraphql-portal.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fcode-store-platform%2Fgraphql-portal?ref=badge_shield)
[![from Paris with Love](https://img.shields.io/badge/from%20Paris%20with-%F0%9F%A4%8D-red)](https://shields.io/)

Configurable and distributed GraphQL Gateway based on GraphQL Mesh and built with :heart: by code.store

[Read our documentation here](https://github.com/code-store-platform/graphql-portal#graphql-portal-gateway)

## License

[MIT](https://github.com/code-store-platform/graphql-portal/blob/main/LICENSE)
npm package: @graphql-reshape/cli
Description: A cli for quickly applying custom directives to your graphql schema files
Author: Kyle Scully
Latest version: 0.6.1

# @graphql-reshape/cli

<p align="center" style="margin-top: 3rem;"><img src="https://github.com/zieka/graphql-reshape/raw/master/graphql-reshape-logo.svg?sanitize=true" width="300px" alt="GraphQL Reshape Logo"></p>

## How to install

```
npm i -g @graphql-reshape/cli
```

## How to use

Installing will give you the command `reshape` which will give you an interactive menu to apply transformations to your `.graphql` files.

If you want to programatically use the cli actions (maybe as part of your own script) you can import them directly from their specific directory found in `@graphql-reshape/cli/lib/actions`
npm package: @graphql-reshape/directives
Description: A collection of custom graphql directives
Author: Kyle Scully
Latest version: 0.3.3

# @graphql-reshape/directives

<p align="center" style="margin-top: 3rem;"><img src="https://github.com/zieka/graphql-reshape/raw/master/graphql-reshape-logo.svg?sanitize=true" width="300px" alt="GraphQL Reshape Logo"></p>

## How to install

```
npm i @graphql-reshape/directives
```

## How to use

1. Import the directive you would like to use in your schema and using Apollo's `makeExecutableSchema()` add the directive to the schemaDirectives:

   ```ts
   import { MaskedDirective } from '@graphql-reshape/directives';

   const schema = makeExecutableSchema({
     typeDefs,
     schemaDirectives: {
       masked: MaskedDirective
     }
   });
   ```

2. Add the directive schema definition to your schema and use the directive:

   ```graphql
   directive @masked(showLast: Int = 4) on FIELD_DEFINITION

   type Person {
     name: String!
     dateOfBirth: String! @masked(showLast: 2)
   }
   ```

   OR alternatively you can use the `@graphql-reshape/cli` to apply definitions and directives to your schema with ease.