Skip to content

Instantly share code, notes, and snippets.

@edwardgalligan
Created December 12, 2019 15:54
Show Gist options
  • Save edwardgalligan/8e43dc3593785bb2e5b49c3f7735a415 to your computer and use it in GitHub Desktop.
Save edwardgalligan/8e43dc3593785bb2e5b49c3f7735a415 to your computer and use it in GitHub Desktop.
JS Framework sizes
#!/usr/bin/env bash
# React
curl -L0 https://unpkg.com/react@latest/umd/react.production.min.js > react.js
curl -L0 https://unpkg.com/react-dom@latest/umd/react-dom.production.min.js > react-dom.js
curl -L0 https://unpkg.com/react-dom@latest/cjs/react-dom-server.node.production.min.js > react-dom-server.js
# Redux
curl -L0 https://unpkg.com/redux@latest/dist/redux.min.js > redux.js
curl -L0 https://unpkg.com/react-redux@latest/dist/react-redux.min.js > react-redux.js
# Angular
curl -L0 https://unpkg.com/angular@latest/angular.min.js > angular.js
# Vue
curl -L0 https://unpkg.com/vue@latest/dist/vue.min.js > vue.js
ls -hal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment