BabelJs Tutorial
BabelJs Useful Resources
Selected Reading
- Working with Babel and JSX
- Working with Babel and Webpack
- BabelJs - Babel Presets
- BabelJs - Babel CLI
- BabelJs - Babel Polyfill
- BabelJs - Babel Plugins
- Transpile ES8 features to ES5
- Transpile ES7 features to ES5
- Transpile ES6 Modules to ES5
- Transpile ES6 features to ES5
- BabelJs - Project Setup Using Babel 7
- BabelJs - Project setup using Babel 6
- BabelJs - ES6 Code Execution
- BabelJs - CLI
- BabelJs - Environment Setup
- BabelJs - Overview
- BabelJs - Home
BabelJs Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
BabelJs - Environment Setup
BabelJS - Environment Setup
In this section, we will learn how to set up the environment for BabelJS.
To work with BabelJS we need following setup −
NodeJS
Npm
Babel-CLI
Babel-Preset
IDE for writing code
NodeJS
To check if nodejs is installed on your system, type node –v in the terminal. This will help you see the version of nodejs currently installed on your system.
If it does not print anything, install nodejs on your system. To install nodejs, go to the homepage
of nodejs and install the package based on your OS.The following screenshot shows the download page of nodejs −
Based on your OS, install the required package. Once nodejs is installed, npm will also be installed along with it. To check if npm is installed or not, type npm –v in the terminal. It should display the version of the npm.
Advertisements