Skip to content

Latest commit

 

History

History
36 lines (32 loc) · 1.03 KB

README.md

File metadata and controls

36 lines (32 loc) · 1.03 KB

First time with Yarn from Facebook

Yarn is a javascript package manager like npm.

But Yarn has more security, faster, and can work on offline!

##Installation ###Alternative Way

$ npm install yarn -g

##Sample command You can find out more command here ####Initialize your project likes npm init

$ yarn init

click here for more information of $ yarn init ####Add dependencies likes npm install [package-name]

$ yarn add [package-name]

#####If you want to *save dependencies try to use this

$ yarn add [package-name] --save
$ yarn add [package-name] -S

$ yarn add [package-name] --save-dev
$ yarn add [package-name] -D

click here for more information of $ yarn add [package-name] ####Install dependencies that already contain in package.json likes npm install

$ yarn install

click here for more information of $ yarn install