Socket
Socket
Sign inDemoInstall

@magidoc/rollup-plugin-gql-schema

Package Overview
Dependencies
28
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @magidoc/rollup-plugin-gql-schema

A Rollup and ViteJS plugin that allows to parse a GraphQL Schema from a target URL and save it to a target output folder, or to parse it from the disk and convert it to a desired format.


Version published
Weekly downloads
6K
increased by14.87%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Magidoc - GraphQL Schema

A Rollup/ViteJS plugin that can both fetch or parse GraphQL schemas and store them locally.

This plugin can be used in any project that uses Rollup/ViteJS, wether it is browser or NodeJS based.

Fetching

When fetching the schema, configuration is available to set custom headers, url, method and output format.

Parsing

When parsing the schema, it is possible to aggregate multiple schema parts into one file using glob patterns and/or custom file paths.

Documentation

For more details on how to use this plugin, see the documentation.

Keywords

FAQs

Last updated on 01 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc