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
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
- v4 first release 4.0.0, 7 Jul 2021
- v3 first release 3.0.0, 14 Jan 2021
- v2 first release 2.0.0, 19 Jul 2018
Recent releases
| Version | Published |
|---|---|
| 3.2.0 | 18 Aug 2022 |
| 4.2.1 | 18 Jan 2022 |
| 4.2.0 | 5 Nov 2021 |
| 4.1.0 | 11 Oct 2021 |
| 4.0.3 | 26 Jul 2021 |
| 4.0.2 | 20 Jul 2021 |
| 4.0.1 | 16 Jul 2021 |
| 4.0.0 | 7 Jul 2021 |
| 3.1.0 | 30 Apr 2021 |
| 3.0.0 | 14 Jan 2021 |
| 2.4.5 | 30 Jun 2020 |
| 2.4.4 | 27 May 2020 |
| 2.4.3 | 30 Aug 2019 |
| 2.4.2 | 28 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- jsDelivr
https://cdn.jsdelivr.net/npm/apollo-server-env@4.2.1/ - unpkg
https://unpkg.com/apollo-server-env@4.2.1/ - esm.sh
https://esm.sh/apollo-server-env@4.2.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| graphql-upload | 405k | - | 1 month ago | CommonJS | - |
| graphql-upload-ts | 55.3k | - | 5 months ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): deprecated.