Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphqlade

Package Overview
Dependencies
Maintainers
0
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphqlade

A complete TypeScript library for GraphQL development on server- and client-side

  • 1.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15
decreased by-11.76%
Maintainers
0
Weekly downloads
 
Created
Source
GraphQLade

NPM version Coverage

GraphQLade is a lightweight but complete TypeScript library for GraphQL development on server- and client-side. It emphasizes a GraphQL first approach with maximum type-safety through type generation from GraphQL schemas and GraphQL client operations.

With a rich feature set and zero dependencies besides GraphQL.js, it provides a highly integrated foundation for GraphQL servers and clients at around 5000 lines of readable, tested code—all in one place.

Documentation

Design principles

GraphQL first

GraphQL schemas and operations are defined through spec-compliant, plain GraphQL files.

Type-safety through code generation

GraphQLade generates a complete set of TypeScript types and interfaces from GraphQL sources, both for schemas and operations, including type tables mapping operation names to their variable and result interfaces.

Enhance and integrate with GraphQL.js

GraphQLade provides a rich, type-safe runtime library for building HTTP and WebSocket servers, resolvers and clients. It transparently integrates with GraphQL.js, introducing very few additional concepts and staying close to the "language" used by GraphQL.js.

Why?

Existing stacks (e.g. Apollo, GraphQL Tools, TypeGraphQL) are obtrusive in some ways (high lock-in, missing features) and over-engineered in others, while type-safety is often a secondary concern rather than a design principle.

Additionally, most stacks suffer from significant fragmentation. Issues are spread across many packages and maintainers, making it hard to reason about fitness of a particular combination of dependencies and stalling improvements to the ecosystem.

Contributors

  • emargollo - Stitching support
  • sreedhap - Fix calling next in Koa/Express
  • jayne-mast - Allow prettier >= 2

Thanks!

Keywords

FAQs

Package last updated on 01 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc