Node.js Academy

Tooling ⚒

#ege-academy-nodejs @rbung @yagong

Install Node (and npm)

#ege-academy-nodejs @rbung @yagong

https://www.youtube.com/watch?v=0bhohNVuTBY

Editing

VSCode !

  • Developped by Microsoft (regular improvements/bugfixes)
  • Supported by the community (extensions)
  • Autocomplete
  • Free & opensource
  • Fast & lightweight

#ege-academy-nodejs @rbung @yagong

Linting

#ege-academy-nodejs @rbung @yagong

Analyse the code to discover problems without executing it

  • standard
  • highly configurable (rules, level)
  • presets (google, recommanded)
  • IDE/Editor integration

Formating

#ege-academy-nodejs @rbung @yagong

No need to discuss style in code review

  • Standard (Facebook, Paypal, React, Babel, Webpack, ...)
  • IDE/Editor integration
  • Play with it with the playground

Testing

  • Developped by Facebook
  • All-in-one : runner, assertion, mock, coverage, snapshot testing
  • Fast (parallel tests execution)
  • CLI 😍

#ege-academy-nodejs @rbung @yagong

Because "Tester c'est douter"

#ege-academy-nodejs @rbung @yagong

Node.js academy - Tooling

By Rodolphe BUNG

Node.js academy - Tooling

  • 713