Git Product home page Git Product logo

envinfo's Introduction

envinfo generates a report of the common details needed when troubleshooting software issues, such as your operating system, binary versions, browsers, installed languages, and more


npm version npm downloads per month License: MIT All Contributors

The problem

  • It works on my computer
  • "command not found"
  • what version of "command" are you running?
  • what version of "different command" are you running?
  • do you have "insert obscure android sdk version"?
  • every github issue reporting template ever:

Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.

This solution

  • Gather all of this information in one spot, quickly, and painlessly.

Installation

To use as a CLI tool, install this package globally:

npm install -g envinfo || yarn global add envinfo

Or, use without installing with npx:

npx envinfo

To use as a library in another project:

npm install envinfo || yarn add envinfo

CLI Usage

envinfo || npx envinfo

  System:
    OS: macOS Mojave 10.14.5
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 2.97 GB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 8.16.0 - ~/.nvm/versions/node/v8.16.0/bin/node
    Yarn: 1.15.2 - ~/.yarn/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v8.16.0/bin/npm
    pnpm: 8.7.6 - /usr/local/bin/pnpm
    bun: 1.0.2 - /usr/local/bin/bun
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    Cargo: 1.31.0 - ~/.cargo/bin/cargo
    CocoaPods: 1.7.3 - /usr/local/bin/pod
    Composer: 1.8.6 - /usr/local/bin/composer
    Gradle: 5.5 - /usr/local/bin/gradle
    Homebrew: 2.1.7 - /usr/local/bin/brew
    Maven: 3.6.1 - /usr/local/bin/mvn
    pip2: 19.0.3 - /usr/local/bin/pip2
    pip3: 19.0.2 - /usr/local/bin/pip3
    RubyGems: 2.5.2.3 - /usr/bin/gem
  Utilities:
    CMake: 3.13.3 - /usr/local/bin/cmake
    Make: 3.81 - /usr/bin/make
    GCC: 10.14. - /usr/bin/gcc
    Git: 2.20.0 - /usr/local/bin/git
    Mercurial: 4.5.3 - /usr/bin/hg
    Clang: 1001.0.46.4 - /usr/bin/clang
    Subversion: 1.10.3 - /usr/bin/svn
  Servers:
    Apache: 2.4.34 - /usr/sbin/apachectl
    Nginx: 1.13.12 - /usr/local/bin/nginx
  Virtualization:
    Docker: 18.09.1 - /usr/local/bin/docker
    Parallels: 13.3.0 - /usr/local/bin/prlctl
    VirtualBox: 5.2.20 - /usr/local/bin/vboxmanage
  SDKs:
    iOS SDK:
      Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2
    Android SDK:
      API Levels: 28
      Build Tools: 28.0.3
      System Images: android-28 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.2 AI-181.5540.7.32.5056338
    Atom: 1.23.3
    Emacs: 22.1.1 - /usr/bin/emacs
    Nano: 2.0.6 - /usr/bin/nano
    VSCode: 1.36.0 - /usr/local/bin/code
    Vim: 8.0 - /usr/bin/vim
    Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild
  Languages:
    Bash: 4.4.23 - /usr/local/bin/bash
    Elixir: 1.6.2 - /usr/local/bin/elixir
    Go: 1.11.1 - /usr/local/bin/go
    Java: 1.8.0_192 - /usr/bin/javac
    Perl: 5.18.4 - /usr/bin/perl
    PHP: 7.1.23 - /usr/bin/php
    Python: 2.7.16 - /usr/local/bin/python
    Python3: 3.7.2 - /usr/local/bin/python3
    R: 3.6.0 - /usr/local/bin/R
    Ruby: 2.3.7 - /usr/bin/ruby
    Rust: 1.16.0 - /Users/tabrindle/.cargo/bin/rustup
  Databases:
    MongoDB: 3.6.4 - /usr/local/bin/mongo
    MySQL: 10.3.10 (MariaDB) - /usr/local/bin/mysql
    PostgreSQL: 10.3 - /usr/local/bin/postgres
    SQLite: 3.24.0 - /usr/bin/sqlite3
  Browsers:
    Chrome: 75.0.3770.100
    Chrome Canary: 77.0.3847.0
    Firefox: 68.0
    Firefox Developer Edition: 69.0
    Firefox Nightly: 69.0a1
    Safari: 12.1.1
    Safari Technology Preview: 13.0
  npmPackages:
    apollo-client: ^2.3.1 => 2.3.1
    jest: ^22.2.1 => 22.2.1
    ...
    react: ^16.3.2 => 16.3.2
    react-apollo: ^2.1.4 => 2.1.4
    run4staged: ^1.1.1 => 1.1.1
    solidarity: 2.0.5 => 2.0.5
    styled-components: ^3.1.6 => 3.1.6
  npmGlobalPackages:
    create-react-app: 1.5.2
    create-react-native-app: 1.0.0
    envinfo: 5.10.0
    exp: 49.2.2
    gatsby-cli: 1.1.52
    npm: 5.6.0
    react-native-cli: 2.0.1
    solidarity: 2.1.0
    typescript: 2.8.1

Programmatic Usage

Envinfo takes a configuration object and returns a Promise that resolves a string (optionally yaml, json or markdown)

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));

logs:

{
    "System": {
        "OS": "macOS High Sierra 10.13",
        "CPU": "x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz"
    },
    "Binaries": {
        "Node": {
            "version": "8.11.0",
            "path": "~/.nvm/versions/node/v8.11.0/bin/node"
        },
        "Yarn": {
            "version": "1.5.1",
            "path": "~/.yarn/bin/yarn"
        },
        "npm": {
            "version": "5.6.0",
            "path": "~/.nvm/versions/node/v8.11.0/bin/npm"
        }
    },
    "Browsers": {
        "Chrome": {
            "version": "67.0.3396.62"
        },
        "Firefox": {
            "version": "59.0.2"
        },
        "Safari": {
            "version": "11.0"
        }
    },
    "npmPackages": {
        "styled-components": {
            "wanted": "^3.2.1",
            "installed": "3.2.1"
        },
        "babel-plugin-styled-components": "Not Found"
    }
}

All of envinfo's helpers are also exported for use. You can use envinfo as a whole, or just the parts that you need, like this:

const envinfo = require('envinfo');

// each helper returns a promise
const node = await envinfo.helpers.getNodeInfo();

// The promises resolve to an array of values: ["Name", "Version", "Path"]
// e.g. ["Node", "10.9.0", "/usr/local/bin/node"]

console.log(`Node: ${node[1]} - ${node[2]}`); // "Node: 10.9.0 - ~/.nvm/versions/node/v8.14.0/bin/node"

CLI Options

    --system               Print general system info such as OS, CPU, Memory and Shell
    --browsers             Get version numbers of installed web browsers
    --SDKs                 Get platforms, build tools and SDKs of iOS and Android
    --IDEs                 Get version numbers of installed IDEs
    --languages            Get version numbers of installed languages such as Java, Python, PHP, etc
    --binaries             Get version numbers of node, npm, watchman, etc
    --npmPackages          Get version numbers of locally installed npm packages - glob, string, or comma delimited list
    --npmGlobalPackages    Get version numbers of globally installed npm packages

    --duplicates           Mark duplicate npm packages inside parentheses eg. (2.1.4)
    --fullTree             Traverse entire node_modules dependency tree, not just top level

    --markdown             Print output in markdown format
    --json                 Print output in JSON format
    --console              Print to console (defaults to on for CLI usage, off for programmatic usage)

Integration

envinfo is live in:

envinfo is used in the ISSUE_TEMPLATE of:

Alternatives

  • type command -v until you smash your computer
  • screenfetch - fetch system and terminal information, and display a pretty ascii logo
  • Solidarity - a project based environment checker
  • write your own

License

MIT

Contributing

PRs for additional features are welcome! Run npm run lint && npm run format before committing.

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.

Contributors

Thanks goes to these wonderful people (emoji key):


Trevor Brindle

πŸ’¬ πŸ“ πŸ› πŸ’» πŸ“– πŸ’‘ πŸ€” πŸ‘€ πŸ“’ ⚠️

Gant Laborde

πŸ“ πŸ› πŸ’» πŸ€”

Anton Fisher

πŸ› πŸ’»

Ahmad Awais ⚑️

πŸ› πŸ’»

Hasan

πŸ› πŸ’»

Ernesto RamΓ­rez

πŸ› πŸ’»

Jiawen Geng

πŸ› πŸ’» πŸ€” ⚠️

Zac Anger

πŸ’» πŸ›

Ville Immonen

πŸ› πŸ’»

Olmo Maldonado

πŸ› πŸ’»

Rishabh Chawla

πŸ› πŸ’»

Carl Taylor

πŸ’»

This project follows the all-contributors specification. Contributions of any kind welcome!

envinfo's People

Contributors

andreek avatar antonfisher avatar asklar avatar bbonnin avatar btkostner avatar cclauss avatar dantasfiles avatar ernestor avatar gantman avatar gengjiawen avatar github-actions[bot] avatar gowda avatar ibolmo avatar ivanagyro avatar jakxz avatar jasonpaulos avatar jlhwung avatar jmeistrich avatar kbrandwijk avatar kellycampbell avatar langlangbart avatar maximdevoir avatar moonball avatar mxschmitt avatar nthalk avatar ryhinchey avatar settrend avatar tabrindle avatar unadlib avatar zacanger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

envinfo's Issues

sdk version info

Android SDK (sdkmanager --list)
iOS SDK (xcodebuild -showsdks)

why was --clipboard removed?

i see #57 but there wasnt really a discussion of why the clipboard option was removed. because i'm trying to make instructions for issue filers i cant assume people have clipboard-cli installed. just wondering why it seems to have been dropped because windows users have problems...

Consistency in missing items

When an IDE or Virtualization is not found the string "Not Found" is returned.

But when a node package is not found, there is no returned result at all.

Unifying that missing node packages would return "Not Found" when in JSON returns would be ideal.

[Bug] 7.0.0 release missed the java precise version change

https://circleci.com/gh/react-native-community/docker-android/47

docker run --rm --name rn-env react-native-community/react-native bash -c "npm i -g envinfo && envinfo"
/usr/bin/envinfo -> /usr/lib/node_modules/envinfo/dist/cli.js
+ [email protected]
added 1 package from 1 contributor in 0.623s

  System:
    OS: Linux 4.4 Debian GNU/Linux 9 (stretch) 9 (stretch)
    CPU: (2) x64 Intel(R) Xeon(R) CPU @ 2.30GHz
    Memory: 2.08 GB / 7.30 GB
    Container: Yes
    Shell: 4.4.12 - /bin/bash
  Binaries:
    Node: 10.15.1 - /usr/bin/node
    Yarn: 1.13.0 - /usr/bin/yarn
    npm: 6.4.1 - /usr/bin/npm
  Utilities:
    Make: 4.1 - /usr/bin/make
    GCC: 6.3.0 - /usr/bin/gcc
    Git: 2.11.0 - /usr/bin/git
  SDKs:
    Android SDK:
      API Levels: 28
      Build Tools: 28.0.3
      System Images: android-19 | Google APIs ARM EABI v7a
      Android NDK: 17.2.4988734
  Languages:
    Bash: 4.4.12 - /bin/bash
    Java: 1.8.0 - /usr/bin/javac
    Perl: 5.24.1 - /usr/bin/perl
    Python: 2.7.13 - /usr/bin/python
  Databases:
    SQLite: 3.22.0 - /opt/android/platform-tools/sqlite3

better windows support

Most of the CLI based binaries like Node, Yarn or npm work fine - but getting browser versions is not currently supported on Windows. Envinfo is currently using a mac specific method of getting applications location and version via bundle identifier and package .plist

Currently this is how it looks on mac - this needs to be supported on windows too.

envinfo --markdown --clipboard

System:

  • OS: macOS High Sierra 10.13
  • CPU: x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz
  • Free Memory: 3.78 GB
  • Total Memory: 16.00 GB
  • Shell: /bin/bash - 3.2.57

Binaries:

  • Node: 8.9.4
  • Yarn: 1.3.2
  • npm: 5.6.0
  • Watchman: 4.9.0
  • Docker: 17.12.0-ce, build c97c6d6
  • Homebrew: 1.5.2

IDEs:

  • Android Studio: Not Found
  • Atom: 1.23.3
  • VSCode: 1.19.3
  • Sublime Text: Build 3143
  • Xcode: Xcode 9.0 Build version 9A235

Languages:

  • Bash: 4.4.12
  • Go: 1.9.3
  • PHP: 7.1.7
  • Python: 2.7.10
  • Ruby: 2.3.3p222

Browsers:

  • Chrome: 63.0.3239.132
  • Chrome Canary: 66.0.3335.0
  • Firefox: 58.0
  • Firefox Developer Edition: 57.0
  • Firefox Nightly: 58.0a1
  • Safari: 11.0
  • Safari Technology Preview: 11.1

refactor helpers.js

helpers.js is a bit large and unwieldy, and it does need refactored in the future.

I think to keep file bloat down and a similar organization to the output of envinfo, we should organize the helpers like this

helpers/
  binaries.js
  browsers.js
  databases.js
  IDEs.js
  index.js
  languages.js
  SDKs.js
  servers.js
  system.js
  utilities.js
  virtualization.js

@gengjiawen

Fix dependency

root@fcb3dfc264ca:~/repo# npm audit
                                                                                
                       === npm audit security report ===                        
                                                                                
                                                                                
                                 Manual Review                                  
             Some vulnerabilities require your attention to resolve             
                                                                                
          Visit https://go.npm.me/audit-guide for additional guidance           
                                                                                
                                                                                
  High            Denial of Service                                             
                                                                                
  Package         https-proxy-agent                                             
                                                                                
  Patched in      >=2.2.0                                                       
                                                                                
  Dependency of   github-release-cli [dev]                                      
                                                                                
  Path            github-release-cli > github > https-proxy-agent               
                                                                                
  More info       https://nodesecurity.io/advisories/593                        
                                                                                
found 1 high severity vulnerability in 25891 scanned packages
  1 vulnerability requires manual review. See the full report for details.

https://circleci.com/gh/tabrindle/envinfo/36?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

add paths for binaries

  • create option to show paths inline or not at all
  • add object json structure for resolvers
{
  version: 1.0.0
  path: /usr/local/bin/binary
}

missing --yaml option

I know, I know, yaml is the default. You're losing your marbles Trevor.

No!

When piping output to a file, or another binary, the output needs to be unformatted, not including any silly character escapes that we use in terminal for highlighting and bold.

Right now, npx envinfo | npx clipboard-cli outputs

  οΏ½[4mSystem:οΏ½[0m
    OS: macOS 10.14.2
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
    Memory: 2.33 GB / 16.00 GB
    Shell: 5.3 - /bin/zsh

and since we can't possibly know where things are getting piped to, we need an option to specify the default format with no silly escaping

npx envinfo --yaml >> envinfo.yaml or npx envinfo --yaml | npx clipboard-cli should output without character escapes.

Derp.

Node version missing on windows

From appveyor:
Node version does not show up in final report; according to trace the path is found, but using the path to run -v does not seem to work.
trace ["clean","Node","","C:\\Program Files (x86)\\nodejs\\node.EXE"]

  System:
    OS: Windows 8.1
    CPU: ia32 Intel(R) Xeon(R) CPU E5-2697 v3 @ 2.60GHz
    Memory: 347.68 MB / 1.46 GB
  Binaries:
    Yarn: 1.5.1 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
    npm: 5.6.0 - C:\Program Files (x86)\nodejs\npm.CMD
  Languages:
    Bash: 4.4.19 - C:\Program Files\Git\usr\bin\bash.EXE
    Go: 1.10 - C:\go\bin\go.EXE
    Python: 2.7.14 - /c/Python27/python
    Ruby: 1.9.3 - C:\Ruby193\bin\ruby.EXE
  Browsers:
    Internet Explorer: 11.0.9600.18817
node dist/cli.js

[Feature Request] Detect yarn global packages

Currently there's only a npmGlobalPackages section in the output. If a user installs the global package by yarn global add it would be like @vue/cli: Not Found and this is really confusing sometimes.

print(options) function throws an exception on non Mac devices

Expected behavior

envinfo.print(options)
Should print a result without any errors. For instance like this on some Linux machine

Environment:
  OS:  Linux 4.9
  Node:  8.7.0
  Yarn:  Not Found
  npm:  5.4.2
  Watchman:  Not Found
  Xcode:  N/A
  Android Studio:  Not Found

Current behavior

On non Mac devices the function throws an exception

Environment:
  OS:  Linux 4.9
  Node:  8.7.0
  Yarn:  Not Found
  npm:  5.4.2
  Watchman:  Not Found
Error: unable to print environment info
{ Error: not found: xcodebuild
    at getNotFoundError (/home/user/Desktop/AwesomeProject/node_modules/which/which.js:13:12)
    at Function.whichSync [as sync] (/home/user/Desktop/AwesomeProject/node_modules/which/which.js:134:9)
    at getXcodeVersion (/home/user/Desktop/AwesomeProject/node_modules/envinfo/envinfo.js:17:25)
    at Object.module.exports.print (/home/user/Desktop/AwesomeProject/node_modules/envinfo/envinfo.js:137:28)
    at Object.info (/home/user/Desktop/AwesomeProject/node_modules/react-native/local-cli/info/info.js:17:13)
    at Promise.resolve.then (/home/user/Desktop/AwesomeProject/node_modules/react-native/local-cli/cliEntry.js:109:26)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:667:11)
    at startup (bootstrap_node.js:187:16) code: 'ENOENT' }

Related issue facebook/react-native#16496

CI: linux distribution test

Using circle-ci to test major linux distribution in docker, like

  • ubuntu
  • centos
  • debian

Why not travis-ci, because it more easy to debug and easy to write using circle-ci.

Add Nvim support?

This is a simple addition. (#47 is a different issue). I'd be happy to open a PR.

envinfo.run returns pending promise

By default envinfo returns a pending promise now.

		envinfo.run({
			System: ["OS", "CPU"],
			Binaries: ["Node", "Yarn", "npm"],
			Browsers: ["Chrome", "Firefox", "Safari"],
			npmPackages: "*webpack*",
			npmGlobalPackages: ["webpack", "webpack-cli"]
		})

See webpack/webpack-cli#493

Use pkg to distribute binary outside npm

This module is awesome, but is tied to having npm installed. Using pkg would be possibly to generate binaries for Windows, Linux and Mac and distribute them outside npm (like GitHub releases) or even brew and similar tools.

VSCode detection Not Found but it s there

You will have lots of info following screenshots>
Just missing.
I have used npx to execute
node is installed using nvm.

screen shot 2018-09-17 at 13 15 55

After reading the code, its based on the feature: add "code" to the env PATH.
which was not the case on my laptop.

Could we make that test more bullet proof ?

versionInfo is null on Manjaro

Cloned from master to debug.

NAME="Manjaro Linux"
ID=manjaro
PRETTY_NAME="Manjaro Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.manjaro.org/"
SUPPORT_URL="https://www.manjaro.org/"
BUG_REPORT_URL="https://bugs.manjaro.org/"
[:~/Downloads/envinfo] master(+1/-0)* Β±

[:~/Downloads/envinfo] master(+1/-0)* Β± node src/cli.js
(node:10691) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1' of null
    at utils.run.then.v (/home/z/Downloads/envinfo/src/helpers.js:297:43)
(node:10691) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:10691) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not
handled will terminate the Node.js process with a non-zero exit code.
[:~/Downloads/envinfo] master(+1/-0)* Β±

Replacing line 295 of helpers with const versionInfo = (v || '').match(/VERSION="(.+)"/) || []; fixes the issue:

[:~/Downloads/envinfo] master(+1/-1)* Β± node src/cli.js

  System:
    OS: Linux 4.14 Manjaro Linux undefined
    CPU: x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
    Memory: 26.39 GB / 31.30 GB
    Container: Yes
    Shell: 4.4.23 - /bin/bash
  Binaries:
    Node: 10.7.0 - /usr/local/bin/node
    npm: 6.2.0 - /usr/local/bin/npm
  Utilities:
    CMake: 3.11.4 - /usr/bin/cmake
    Make: 4.2.1 - /usr/bin/make
    GCC: 8.1.1 - /usr/bin/gcc
    Git: 2.18.0 - /usr/bin/git
  Virtualization:
    Docker: 18.05.0 - /usr/bin/docker
  IDEs:
    Nano: 2.9.8 - /usr/bin/nano
    Vim: 8.1 - /usr/bin/vim
  Languages:
    Bash: 4.4.23 - /usr/bin/bash
    Go: 1.10.3 - /usr/bin/go
    Perl: 5.26.2 - /usr/bin/perl
    PHP: 7.2.7 - /usr/bin/php
    Python: 3.6.6 - /usr/bin/python
    Ruby: 2.5.1 - /usr/bin/ruby
  Databases:
    SQLite: 3.24.0 - /usr/bin/sqlite3

[:~/Downloads/envinfo] master(+1/-1)* Β±

I'd be happy to open a PR.

Python path on windows

Windows is a pile of crap. Path showing incorrectly formatted on windows, compared to other paths.

   Python: 2.7.14 - /c/Python27/python
   Ruby: 1.9.3 - C:\Ruby193\bin\ruby.EXE

get more related information from browsers

ex chrome:

key value
JavaScript V8Β 6.4.388.41
Flash 28.0.0.161 /Users/tabrindle/Library/Application Support/Google/Chrome/PepperFlash/28.0.0.161/PepperFlashPlayer.plugin
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36

--clipboard option fails on Windows

clipboardy, the dependency used for clipboard support, bundles native binaries to write to the clipboard. Unfortunately, these are lost during the webpacking process this tool uses. This means that running envinfo --clipboard fails at runtime on Windows.

Adding babel 7

With babel we can write more modern js using feature like esm.
Also jest can use babel too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.