


Run the command below to initialize your project as an npm package.Navigate into the folder using your Terminal.That said, a system running the windows Os can also be setup to run the commands used in this tutorial. It's best to follow this tutorial on a linux or mac Os system.

This Tutorial assumes that you have installed the Node Package Manager( NPM) and the Node.js Engine in your development environment. It is also required that you have a basic knowledge of JavaScript to successfully complete this tutorial.Īccording to its website, Babel is a JavaScript compiler that enables one use next generation JavaScript, today. The Babel compiler will allow us to use the new JavaScript features in our Express app. We will be using the Babel compiler to compile our ES6 code to ES5. Implementation of these new features in major JavaScript engines is still ongoing at present, and a conversion is required to enable the use of these latest features in older JavaScript engines.įor this tutorial we will be setting up an Express app using ES6. It includes new language syntaxes, some of which might be considered ‘syntactic sugar’ to the already existing language features. ECMAScript 2015 or ES6 is the term used to describe the latest stable iteration of the programing language commonly called JavaScript.ĮS6 is a significant update to the language, and the first update to the language since ES5 was standardized in 2009.
