graphql-language-service

graphql-language-service JS library on GitHub graphql-language-service JS library on npm Download graphql-language-service JS library

The official, runtime independent Language Service for GraphQL

Version 5.5.0 License MIT
graphql-language-service has no homepage
graphql-language-service JS library on GitHub
graphql-language-service JS library on npm
Download graphql-language-service JS library
Keywords
graphqllanguage serviceLSP
INSTALL
Type:
Version:
Learn more

graphql-language-service

Changelog | API Docs | Discord

Note: Still mostly experimental, however it depends mostly on stable libraries. Migration Note: As of 3.0.0, the LSP Server command line interface has been moved to graphql-language-service-cli

Purpose

This package brings together all the dependencies for building out web or desktop IDE services for the GraphQL Language.

It is named as such to match the convention of other vscode language services.

Interface

Language Service Protocol (LSP) methods written in TypeScript used by graphql-language-service-server, monaco-graphql and codemirror-graphql.

The goal is to provide methods for creating Language Server Protocol compliant services to be used by an IDE plugin, a browser application or desktop application.

Parser

A standalone online, immutable, dependency-free parser for GraphQL, used by the LSP interface methods

Utils

Various utilities