OpenSource

[Package Manage] Yarn

아르비스 2019. 2. 28. 11:40

Yarn is a package manager for your code. It allows you to use and share code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don’t ever have to worry.

Yarn allows you to use other developers’ solutions to different problems, making it easier for you to develop your software. If you have problems, you can report issues or contribute back, and when the problem is fixed, you can use Yarn to keep it all up to date.

Code is shared through something called a package (sometimes referred to as a module). A package contains all the code being shared as well as a package.jsonfile which describes the package.


  • URL : https://yarnpkg.com/en/
  • Document : https://yarnpkg.com/en/docs
  • license

    yarn licenses v0.14.0
    ├─ abab@1.0.3
    │  ├─ License: ISC
    │  └─ URL: git+https://github.com/jsdom/abab.git
    ├─ abbrev@1.0.9
    │  ├─ License: ISC
    │  └─ URL: http://github.com/isaacs/abbrev-js
    ├─ acorn-globals@1.0.9
    │  ├─ License: MIT
    │  └─ URL: https://github.com/ForbesLindesay/acorn-globals.git
    ├─ acorn@2.7.0
    │  ├─ License: MIT
    │  └─ URL: https://github.com/ternjs/acorn.git
    ├─ align-text@0.1.4
    │  ├─ License: MIT
    │  └─ URL: git://github.com/jonschlinkert/align-text.git
    ├─ amdefine@1.0.0
    │  ├─ License: BSD-3-Clause AND MIT
    │  └─ URL: https://github.com/jrburke/amdefine.git
    ├─ ansi-escapes@1.4.0
    │  ├─ License: MIT
    │  └─ URL: https://github.com/sindresorhus/ansi-escapes.git
    ├─ ansi-regex@2.0.0
    │  ├─ License: MIT
    │  └─ URL: https://github.com/sindresorhus/ansi-regex.git





  • packages
  • LODASHlodash

    Lodash modular utilities.

    modulesstdlibutilLJHARBqs

    A querystring parser that supports nesting and arrays, with a depth limit

    querystringqsCAOLANasync

    Higher-order functions and common patterns for asynchronous code

    asynccallbackmoduleutilityVISIONMEDIAdebug

    small debugging utility

    debuglogdebuggerBABELbabel-core

    Babel compiler core.

    6to5babelclassesconstFACEBOOKreact

    React is a JavaScript library for building user interfaces.

    react



Ultra Fast.

Yarn caches every package it downloads so it never needs to download it again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.


Mega Secure.

Yarn uses checksums to verify the integrity of every installed package before its code is executed.


Super Reliable.

Using a detailed, but concise, lockfile format, and a deterministic algorithm for installs, Yarn is able to guarantee that an install that worked on one system will work exactly the same way on any other system.



 

Offline Mode

If you've installed a package before, you can install it again without any internet connection.

Deterministic

The same dependencies will be installed the same exact way across every machine regardless of install order.

Network Performance

Yarn efficiently queues up requests and avoids request waterfalls in order to maximize network utilization.

Same Packages

Install any package from npm and keep your package workflow the same.

Network Resilience

A single request failing won't cause an install to fail. Requests are retried upon failure.

Flat Mode

Resolve mismatching versions of dependencies to a single version to avoid creating duplicates.