Yarn

30th September 2019 at 10:37am
Node.js: Packaging

Yarn provides "fast, reliable and secure dependency management". Core features include:

  • Cache packages it downloads so you can install it later even offline. This make it blazing fast.
  • Introduce a workflow (yarn.lock) to ensure the same dependencies will be installed across every machine.

Using yarn is relatively simple. The official documentation is awesome, easy to read and comprehesive.