Skip to content
JS
Package

graphql-import-macro

A simple parser and expander for GraphQL imports

v1.0.0, 21 Apr 2020MITCommonJSTypes: NoneGraphQL
$ npm install graphql-import-macro

Key numbers

As of 25 Sept 2026
Weekly downloads
433.7k
+351% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
6 years ago
v1.0.0
GitHub stars
1
0 forks
Open issues / PRs
2 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600k800kSept 2025Mar 2026Sept 2026High 604.4k (18 Aug 2026)Low 55.9k (28 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

433,722 downloads last week, 1,919,348 in the last month. The 12-month change of +351% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
01 in total
Latest version
1.0.0, 21 Apr 20206 years ago
First published
21 Apr 2020
Last push to GitHub
12 Feb 2024955 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
3

Major versions

  1. v1 first release 1.0.0, 21 Apr 2020

Recent releases

VersionPublished
1.0.021 Apr 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
28 kB
Dependencies (1)
graphql
npm install graphql-import-macro
  • jsDelivrhttps://cdn.jsdelivr.net/npm/graphql-import-macro@1.0.0/
  • unpkghttps://unpkg.com/graphql-import-macro@1.0.0/
  • esm.shhttps://esm.sh/graphql-import-macro@1.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
graphql-type-json1.1m-6 years agoESM + CommonJS-
@graphql-hive/cli281.7k-2 days agoCommonJS-
graphql-relay198.3k-3 days agoCommonJS-
@apollographql/graphql-language-service-interface193.8k-7 years agoCommonJS-
@apollographql/graphql-language-service-parser193.3k-7 years agoCommonJS-
@apollographql/graphql-language-service-utils193.3k-7 years agoCommonJS-
@apollographql/graphql-language-service-types188k-7 years agoCommonJS-
graphql-query-batcher35.2k-8 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.