1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/yarn
2019-05-05 11:55:50 +10:00
..
tasks Minor typo 2019-04-25 08:19:34 +10:00
README.rst yarn README.rst 2019-05-05 11:55:50 +10:00

.. |ss| raw:: html

   <strike>

.. |se| raw:: html

   </strike>

.. |nbsp| unicode:: 0xA0
   :trim:

==================
yarn README
==================

Yarn is an alternative to npm that is becoming more widely used though there is still intense npm v. yarn debate.

Its used for the internetarchive role partly because its faster and with MUCH less confusing error messages,
partly because it does a better job of deduplicating nested modules - reducing disk and bandwidth usage
but more importantly because the resulting node_modules is deterministic,
so we can reach down and link to inner modules (dweb-archive and dweb-transports in particular) with certainty about where they will be.