Skip to content
JS
Package

graphql-tag

A JavaScript template literal tag that parses GraphQL queries

v2.12.7, 17 Jun 2026MITESM + CommonJSTypes: Bundled
$ npm install graphql-tag

Key numbers

As of 25 Sept 2026
Weekly downloads
11m
+65% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
3 months ago
v2.12.7
GitHub stars
2.3k
179 forks
Open issues / PRs
74 / 24
Contributors
-
Commits, last 52 weeks
5

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 16m (25 Aug 2026)Low 4m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

11,008,021 downloads last week, 53,290,458 in the last month. The 12-month change of +65% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
164 in total
Latest version
2.12.7, 17 Jun 20263 months ago
First published
24 Jun 2016
Last push to GitHub
17 Jun 202699 days before the snapshot
Repository archived
No
Open issues
74
Open pull requests
24
Commits, last 52 weeks
5
Dependents on npm
5,272

Major versions

  1. v2 first release 2.0.0, 27 Mar 2017
  2. v1 first release 1.0.0, 23 Nov 2016
  3. v0 first release 0.1.0, 24 Jun 2016

Recent releases

VersionPublished
2.12.717 Jun 2026
2.12.66 Nov 2021
2.12.525 Jun 2021
2.12.429 Apr 2021
2.12.319 Mar 2021
2.12.218 Mar 2021
2.12.112 Feb 2021
2.12.029 Jan 2021
2.11.028 Jul 2020
2.10.49 Jul 2020
2.10.35 Feb 2020
2.10.24 Feb 2020
2.10.117 Jan 2019
2.10.02 Oct 2018
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
171 kB
Dependencies (1)
tslib
Peer dependencies (1)
graphql
npm install graphql-tag
  • jsDelivrhttps://cdn.jsdelivr.net/npm/graphql-tag@2.12.7/
  • unpkghttps://unpkg.com/graphql-tag@2.12.7/
  • esm.shhttps://esm.sh/graphql-tag@2.12.7
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.