🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@graphitation/graphql-js-tag

Package Overview
Dependencies
Maintainers
5
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphitation/graphql-js-tag

A simple graphql-js AST based `graphql` tagged template function.

latest
Source
npmnpm
Version
0.10.0
Version published
Maintainers
5
Created
Source

graphql-js-tag

A simple graphql-js AST based graphql tagged template function.

This version makes a few assumptions that allow it to make some optimizations:

  • Documents will not be mutated once created, which allows copying interpolated documents by reference instead of value.
  • Documents are named uniquely and defined only once, which makes de-duping by reference possible.

Other optimizations:

  • The invariant call can be stripped out when applicable.
  • Inline documents are parsed ahead-of-time and have their AST inlined.

FAQs

Package last updated on 02 Apr 2025

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