Skip to content
JS
Package

apollo-server-env

This package is used internally by Apollo Server and not meant to be consumed directly.

v4.2.1, 18 Jan 2022MITCommonJSTypes: BundledGraphQL
$ npm install apollo-server-env
Deprecated on npm
The `apollo-server-env` package is part of Apollo Server v2 and v3, which are now end-of-life (as of October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/utils.fetcher` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.

Key numbers

As of 25 Sept 2026
Weekly downloads
937.5k
-15% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v4.2.1
GitHub stars
14k
2k forks
Open issues / PRs
59 / 29
Contributors
-
Commits, last 52 weeks
47

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 1.8m (12 May 2026)Low 555.1k (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.

937,501 downloads last week, 4,818,551 in the last month. The 12-month change of -15% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
022 in total
Latest version
4.2.1, 18 Jan 20224 years ago
First published
15 Jun 2018
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
59
Open pull requests
29
Commits, last 52 weeks
47
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 7 Jul 2021
  2. v3 first release 3.0.0, 14 Jan 2021
  3. v2 first release 2.0.0, 19 Jul 2018

Recent releases

VersionPublished
3.2.018 Aug 2022
4.2.118 Jan 2022
4.2.05 Nov 2021
4.1.011 Oct 2021
4.0.326 Jul 2021
4.0.220 Jul 2021
4.0.116 Jul 2021
4.0.07 Jul 2021
3.1.030 Apr 2021
3.0.014 Jan 2021
2.4.530 Jun 2020
2.4.427 May 2020
2.4.330 Aug 2019
2.4.228 Aug 2019
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12.0
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (1)
node-fetch
npm install apollo-server-env
  • jsDelivrhttps://cdn.jsdelivr.net/npm/apollo-server-env@4.2.1/
  • unpkghttps://unpkg.com/apollo-server-env@4.2.1/
  • esm.shhttps://esm.sh/apollo-server-env@4.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
graphql-upload405k-1 month agoCommonJS-
graphql-upload-ts55.3k-5 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated.