identity-tag
v1.0.3
Published
A pass through tagged template literal because I want to format GraphQL queries without using gql or the comment (`/* GraphQL */`) syntax to hint VSCode + any GraphQL prettifier.
Downloads
65
Readme
Introduction
A pass through tagged template literal because I want to format GraphQL queries without using gql or the comment (/* GraphQL */
) syntax to hint VSCode + any GraphQL prettifier.
Usage
import { identityTag as gql } from "identity-tag";
VSCode + any GraphQL prettifier like to prettify this now.
const query = gql`
{
id
}
`;