Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Mastering Yarn: The Complete Guide (Beginner to Advanced)
Rating: 4.7 out of 5(2 ratings)
903 students
Created byAhmed Elsakka
Last updated 6/2025
English

What you'll learn

  • Mastering Yarn for JavaScript projects dependency management
  • Understand and Master Yarn basics including dependency management, semantic versioning, lock files and custom scripts
  • Understanding advanced Yarn topics like caching, Plug'nPlay, workspaces and monorepos
  • Learning how to publish packages to NPM

Course content

5 sections25 lectures1h 35m total length
  • Introduction1:29
  • What is Yarn ?2:56
  • Environment Setup1:17

Requirements

  • Basic JavaScript knowledge (JavaScript refresher crash course included in the course)

Description

Yarn is a very popular and widely-used JavaScript package manager which is based on NPM. It's popularity is still increasing and currently trusted by top tech companies due to it's efficiency and reliability, and learning Yarn is definitely a valuable skill as a web developer.


In this course we are going to learn everything about Yarn starting from basics to advanced Yarn topics and package publishing.


After each section, there is a quiz that you have to solve to apply the knowledge you have gained. And in the end we are going to work on a capstone project to apply what we have learned during the course.


In this course, you will learn:

  • Initializing a Yarn Project

  • Adding and Removing Dependencies

  • Installing Dependencies

  • Importing and Using Dependencies

  • Semantic Versioning

  • Yarn Lock File

  • Updating Dependencies

  • Dependency Types

  • Running Scripts with Yarn

  • Offline Cache

  • Plug’n’Play (PnP)

  • Workspaces And Monorepos

  • Configuring Yarn Using .yarnrc.yml

  • Publishing a package to NPM

  • Publishing a New Version

  • Installing and Using the Package


In the end we are going to work on a capstone project to apply what we have learnt during the course by creating a monorepo task manager CLI tool.


Enroll now and let's step up to the next level as a web developer by mastering Yarn!

Who this course is for:

  • Web developers who are looking forward to level up their skill and stand out in the industry by mastering Yarn