What’s new in Node.js from Microsoft !!!
Node.js appeared in 2009, at the same time as ECMAScript 5. It is now widely used by nearly all fortune 500 in the US as well as by many companies like Microsoft , LinkedIn, IBM, Netflix, PayPal, SAP and Walmart. Node.js enables the development of desktop, front-end, back-end, cloud and AI applications.
TypeScript: a typed language developed by Microsoft
Some new TypeScript since last year are:
- null and undefined are now types
- Generators: functions or classes are iterable
- The possibility to no longer specify the variable in a try catch
Visual Studio Code: The Modern IDE of Microsoft
To develop a Node.js application with TypeScript, one of the most suitable IDEs is Visual Studio Code. Visual Studio Code is the code editor developed by Microsoft in TypeScript. Open-source and multiplatform, it uses the Electron framework (Node.js and chromium).
Regularly updated, Visual Studio Code is compatible with many plugins.
These plugins are available in Visual Studio Code to increase productivity when developing Node.js applications .
- Advanced-new-file: Completion of modules when creating a file.
- REST Client: Ability to execute everything in an html file. As postman.
- There are extensions to look for the source code in node module when you want it. Possibility to generate macros.
Updates to Visual Studio Code contribute to more productive Node.js development .
- The auto completion of Node.js modules in the code.
- Debugging: as in chrome, we can now see the value of the variables.
- Unified Debug Session: Can debug the back (Node.js) and the front (JS).
Microsoft is also developing Azure services that are compatible with Node.js. Azure Functions allows you to create a function app in Node.js with possible authentication.