UNPKG

graphql-scalars

Version:

A collection of scalar types not included in base GraphQL.

55 lines (38 loc) 2.86 kB
[![GraphQLConf 2024 Banner: September 10-12, San Francisco. Hosted by the GraphQL Foundation](https://github.com/user-attachments/assets/bdb8cd5d-5186-4ece-b06b-b00a499b7868)](https://graphql.org/conf/2024/?utm_source=github&utm_medium=graphql_scalars&utm_campaign=readme) <!-- Uncomment when we remove GraphQL Conf banner --> <!-- [![scalar](https://user-images.githubusercontent.com/25294569/63675022-87723c80-c7f0-11e9-87b9-22c78c9a17e2.gif)](https://www.graphql-scalars.dev) --> [![npm version](https://badge.fury.io/js/graphql-scalars.svg)](https://badge.fury.io/js/graphql-scalars) [![Discord Chat](https://img.shields.io/discord/625400653321076807)](https://discord.gg/xud7bH9) > A library of custom GraphQL [scalar types](http://graphql.org/learn/schema/#scalar-types) for > creating precise type-safe GraphQL schemas. ## Getting Started Please refer to [our website](https://www.graphql-scalars.dev) for all the documentation related to GraphQL Scalars ## 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 Scalars 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 Released under the [MIT license](./LICENSE). ## Thanks This library was originally published as `@okgrow/graphql-scalars`. It was created and maintained by the company `ok-grow`. We, The Guild, took over the maintenance of that library [later on](https://the-guild.dev/blog/taking-over-merge-graphql-schemas). We also like to say thank you to [@adriano-di-giovanni](https://github.com/adriano-di-giovanni) for being extremely generous and giving us the `graphql-scalars` name on npm which was previously owned by his own [library](https://github.com/adriano-di-giovanni/graphql-scalars). And thanks to [excitement-engineer](https://github.com/excitement-engineer) for [graphql-iso-date](https://github.com/excitement-engineer/graphql-iso-date), [stems](https://github.com/stems) for [graphql-bigint](https://github.com/stems/graphql-bigint), [taion](https://github.com/taion) for [graphql-type-json](https://github.com/taion/graphql-type-json), [langpavel](https://github.com/langpavel) for [GraphQLTimestamp.js](https://gist.github.com/langpavel/b30f3d507a47713b0c6e89016e4e9eb7), [vespertilian](https://github.com/vespertilian) for Duration scalar, [maxwellsmart84](https://github.com/maxwellsmart84) for `NonEmptyString` scalar