npm · npm:getenv
getenv active
Get and typecast environment variables.
The latest stable version of getenv is 2.0.0, published on 2025-05-06. Verified by Vigia on 2026-11-12.
| Latest stable version | 2.0.0 |
|---|---|
| Published | 2025-05-06 21:12:20 UTC |
| Install | npm install getenv@latest |
| Requires (engines) | {"node":">=6"} |
| Peer dependencies | — |
| Dist-tags | latest: 2.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:41:55 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "getenv", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/getenv . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2025-05-06 21:12:20 UTC · 555 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 9 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.0.0 | 2025-05-06 21:12:20 UTC |
1.0.0 | 2019-10-09 09:35:38 UTC |
0.7.0 | 2016-10-06 16:24:14 UTC |
0.6.0 | 2016-01-11 19:36:38 UTC |
0.5.0 | 2014-12-12 15:02:37 UTC |
0.4.0 | 2014-11-24 15:28:49 UTC |
0.3.0 | 2012-08-15 14:15:48 UTC |
0.2.0 | 2012-04-25 14:34:44 UTC |
0.1.0 | 2012-04-17 20:22:53 UTC |
Showing the 9 most recent of 9 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 2.0.0 |
node 18 | 2.0.0 |
node 20 | 2.0.0 |
node 22 | 2.0.0 |
node 24 | 2.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of getenv?
The latest stable version of getenv is 2.0.0, published on 2025-05-06. Verified by Vigia on 2026-11-12.
How do I install the latest version of getenv?
Run npm install getenv@latest. The latest stable version is 2.0.0 (verified 2026-11-12).
Is getenv deprecated?
No. getenv is not marked as deprecated in the registry.
Which Node.js version does getenv require?
getenv 2.0.0 declares this requirement: {"node":">=6"}.
Does getenv 2.0.0 have known vulnerabilities?
No known advisories affect getenv 2.0.0 according to the data Vigia checks.
Is getenv still maintained?
getenv published 0 stable releases in the last 12 months; the most recent was 555 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- micromark-extension-mdxjs-esm
- postcss-font-variant
- caching-transform
- is-absolute-url
- @storybook/components
- cmd-shim
- workbox-build
- @firebase/app-types
- stable-hash-x
- css-functions-list
- postcss-place
- dd-trace
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/getenv) [](https://vigia.coredls.cloud/npm/getenv) [](https://vigia.coredls.cloud/npm/getenv)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/getenv
GET https://vigia.coredls.cloud/v1/packages/npm/getenv/versions/{version}