</>PackageGraphPackageGraph

envinfo

npmv7.21.0

Info about your dev environment for debugging purposes

Safe to adopt

Yes — envinfo scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 287 days ago. 9 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 287 days ago. 9 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 164 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding envinfo to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

164 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=4
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the envinfo README.

javascriptFull README ↗
import envinfo from 'envinfo';

envinfo.run(
    {
        System: ['OS', 'CPU'],
        Binaries: ['Node', 'Yarn', 'npm'],
        Browsers: ['Chrome', 'Firefox', 'Safari'],
        npmPackages: ['styled-components', 'babel-plugin-styled-components'],
    },
    { json: true, showNotFound: true }
).then(env => console.log(env));

envinfo vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
envinfothis page02MIT9 months ago
path-key244.9M1MIT1 day ago
env-paths02MIT1 day ago
is-inside-container02MIT1 day ago
strip-json-comments02MIT1 day ago
getenv07MIT1 day ago

Dependencies

Declared by envinfo v7.21.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (29)

@babel/core ^7.2.2@babel/plugin-proposal-optional-chaining ^7.2.0@babel/polyfill ^7.2.5@babel/preset-env ^7.3.1@commitlint/cli ^8.3.5@commitlint/config-conventional ^8.3.4all-contributors-cli ^4.11.1babel-core 7.0.0-bridge.0babel-eslint ^10.0.1babel-jest 23.6.0babel-loader ^8.0.5eslint ^5.13.0eslint-config-airbnb-base ^12.1.0eslint-config-prettier ^2.7.0eslint-plugin-import ^2.8.0eslint-plugin-prettier ^2.3.1github-release-cli ^0.4.1glob ^7.1.6husky ^4.2.5jest ^22.4.3minimist ^1.2.5os-name ^3.1.0pkg ^4.5.1prettier ^1.19.1prettier-eslint-cli ^4.1.1webpack ^5.90.1webpack-cli ^5.1.4which ^1.2.14yamlify-object ^0.5.1

Used by

Popular packages that depend on envinfo.

Relationship graph

Dependencies (left) and dependents (right) of envinfo.

@react-native-com…@vitejs/devtools-…envinfo
envinfo dependencies dependents

Frequently installed together

Release history

8 releases in the last two years, typically about 24 days apart.

Recent versions of envinfo
VersionPublishedSizeLicense
7.21.0latest9 months ago164 KBMIT
7.20.010 months ago164 KBMIT
7.19.010 months ago163 KBMIT
7.18.011 months ago162 KBMIT
7.17.011 months ago161 KBMIT
7.16.111 months ago161 KBMIT
7.16.011 months ago161 KBMIT
7.15.011 months ago158 KBMIT
7.14.02 years ago158 KBMIT
7.13.02 years ago158 KBMIT
7.12.02 years ago157 KBMIT
7.11.12 years ago158 KBMIT
7.11.02 years ago158 KBMIT
7.10.03 years ago158 KBMIT
7.9.03 years ago157 KBMIT

Overview

envinfo is an npm package that info about your dev environment for debugging purposes. It has 2 known dependents in the graph. The latest version is 7.21.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need info about your dev environment for debugging purposes and value a focused solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (MIT).

Cons

  • Large dependency tree (29 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use envinfo?

Yes — envinfo scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 287 days ago. 9 releases in the last 2 years.

How do I install envinfo?

Run `npm install envinfo` to add envinfo to your npm project.

What license is envinfo released under?

envinfo is distributed under the MIT license.

How popular is envinfo?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on envinfo.

Is envinfo still maintained?

The most recent release of envinfo (v7.21.0) was published 9 months ago.

Does envinfo run install scripts?

No. envinfo does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.