1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

yarn README.rst

This commit is contained in:
Mitra Ardron 2019-05-05 11:55:50 +10:00
parent a8691dd07b
commit 101a792175

21
roles/yarn/README.rst Normal file
View file

@ -0,0 +1,21 @@
.. |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.