mul14
5/24/2018 - 6:49 AM

Yarn can do that?

Yarn can do that?

Yarn can do that?

https://yarnpkg.com/

Install package directly from GitHub/GitLab (without register to npmjs.com)

yarn add <username/repository>

# Example

yarn add mul14/simplemath
yarn add <git_repository_url>

# GitHub Example

yarn add https://github.com/mul14/simplemath.git
yarn add https://github.com/mul14/simplemath

yarn add git+ssh://git@github.com:mul14/simplemath.git
yarn add git+https://git@github.com/mul14/simplemath.git

# GitLab Example

yarn add https://gitlab.com/mul14/simplemath.git
yarn add https://gitlab.com/mul14/simplemath

yarn add git+ssh://git@gitlab.com:mul14/simplemath.git
yarn add git+https://git@gitlab.com/mul14/simplemath.git