You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@portkey/graphql

Package Overview
Dependencies
Maintainers
0
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@portkey/graphql

![ES Version](https://img.shields.io/badge/ES-2020-yellow) ![Node Version](https://img.shields.io/badge/node-14.x-green) [![NPM Package Version][npm-image-version]][npm-url]


Version published
Weekly downloads
3.1K
decreased by-29.43%
Maintainers
0
Created
Weekly downloads
 

Readme

Source

@portkey/graphql

ES Version Node Version NPM Package Version

It is already possible to follow the standard apollo tutorial to add apollo client to your application. However, Portkey provides graphql integration packages those simplify the integration and usage.

Installation

Using NPM

npm install @portkey/graphql

Using Yarn

yarn add @portkey/graphql

Prerequisites

  • :gear: NodeJS (LTS/Fermium)
  • :toolbox: Yarn/Lerna

Package.json Scripts

ScriptDescription
cleanUses rm to remove dist/
buildUses tsc to build package and dependent packages
lintUses eslint to lint package
lint:fixUses eslint to check and fix any warnings
formatUses prettier to format the code
generategenerate files with the following

Usage

GraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are developing a frontend or backend, you can utilize GraphQL Code Generator to generate output from your GraphQL Schema and GraphQL Documents (query/mutation/subscription/fragment).

Command to generate files

you can generate files with the following command:

yarn generate

Configuration

GraphQL Code Generator relies on a configuration file named codegen.config.ts to manage all possible options, input, and output document types.

For more configuration and functions, see docs page

Online web tool

You can do this online through a web page

the-guild.dev/graphql/codegen

FAQs

Package last updated on 18 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc