Packt

Mastering Yarn: The Complete Guide (Beginner to Advanced)

Packt

Mastering Yarn: The Complete Guide (Beginner to Advanced)

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

3 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Beginner level

Recommended experience

3 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Set up and initialize Yarn projects for seamless dependency management

  • Add, remove, and update dependencies using Yarn efficiently

  • Publish and version packages with Yarn for NPM integration

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

September 2026

Assessments

4 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 5 modules in this course

This module introduces learners to the fundamentals of Yarn, including its role as a package manager, benefits over other tools, and the steps required to set up a development environment. It provides a clear roadmap of the course structure and expectations.

What's included

3 videos

This module provides comprehensive guidance on working with Yarn for managing project dependencies. Learners will gain hands-on knowledge of initializing projects, adding and removing dependencies, and using scripts to automate development tasks. The module also covers essential concepts like semantic versioning and the Yarn lock file for consistent installations.

What's included

9 videos1 assignment

This module explores advanced features of Yarn, including its offline cache, Plug'n'Play (PnP) system, workspaces for monorepos, and configuration via .yarnrc.yml. Learners will gain a deep understanding of how these features improve performance, security, and project management in modern JavaScript development.

What's included

4 videos1 assignment

This module guides learners through the process of preparing, publishing, and managing Node.js packages using Yarn. It covers essential steps such as documentation, version control, and package distribution, helping students effectively share and maintain their code.

What's included

5 videos1 assignment

This module guides learners through the process of creating a monorepo task manager CLI tool. It covers project setup, core package implementation, and testing strategies to ensure functionality and correctness. Learners will gain hands-on experience with organizing and developing modular command-line applications.

What's included

4 videos1 assignment

Instructor

Packt - Course Instructors
Packt
2,396 Courses698,592 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Frequently asked questions