Package Exports
- envinfo
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (envinfo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
envinfo
Reporting issues is a pain. Responding to issues is a pain. Make it a bit better.
Installation & Usage
Install this package globally:
npm install -g envinfo
envinfo
Environment:
OS: macOS High Sierra 10.13
Node: 8.9.0
Yarn: 1.2.1
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.3934792
Options
- --packages - Optionally add packages from your package.json: takes either boolean or string in CLI and also array via API
envinfo --packages react,react-native
Environment:
OS: macOS High Sierra 10.13
Node: 8.9.0
Yarn: 1.2.1
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.3934792
Packages: (wanted => installed)
react: 16.0.0-alpha.6 => 16.0.0-alpha.6
react-native: 0.44.0 => 0.44.0
Or all of your packages like this:
envinfo --packages
Environment:
OS: macOS Sierra 10.12.5
Node: 8.1.3
Yarn: 0.27.5
npm: 5.1.0
Xcode: Xcode 8.3.3 Build version 8E3004b
Android Studio: 2.3 AI-162.3934792
Packages: (wanted => installed)
eslint: ^4.0.0 => 4.2.0
prettier-eslint-cli: ^4.1.1 => 4.1.1
minimist: ^1.2.0 => 1.2.0
os-name: ^2.0.1 => 2.0.1
which: ^1.2.14 => 1.2.14
- --clipboard - Optionally copy directly to your clipboard with
envinfo --clipboard
- --cpu - Add CPU and architecture information with
envinfo --cpu
Environment:
OS: macOS High Sierra 10.13
CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 8.50GHz
Node: 8.9.0
Yarn: 1.2.1
npm: 5.5.1
Watchman: 4.9.0
Xcode: Xcode 9.0 Build version 9A235
Android Studio: 2.3 AI-162.3934792
- --recursive - will search the entire module tree for additional versions installed
Packages: (wanted => installed)
minimist: ^1.2.0 => 0.0.8, 1.2.0
Contributing
PRs for additional features are welcome! Run npm run lint && npm run format
before commiting.
This project came out of a PR to the React Native CLI tool - issues are reported frequently without important environment information, like Node/npm versions.
envinfo is now live in react-native as of v0.48 as react-native info
!