programming:javascript:yarn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
programming:javascript:yarn [2023/11/01 07:31] – removed - external edit (Unknown date) 127.0.0.1 | programming:javascript:yarn [2023/11/01 07:31] (current) – ↷ Page moved from camunda:programming:javascript:yarn to programming:javascript:yarn skipidar | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Yarn ===== | ||
+ | Yarn is an alternative to npm. | ||
+ | |||
+ | It allows to manager e.g. peer-dependencies in a better way, | ||
+ | by declaring to which version to resolve the peer-dependencies. | ||
+ | |||
+ | |||
+ | Syntax to install something as a dev-dependency | ||
+ | <sxh javascript> | ||
+ | yarn add https-proxy-agent --dev | ||
+ | </ |