Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

Mastering Yarn: The Complete Guide (Beginner to Advanced)

Packt via Coursera

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Learn everything about Yarn, from basic dependency management to advanced features like workspaces and PnP. This course includes practical lessons on setting up Yarn projects, updating dependencies, and publishing packages to NPM. Plus, a capstone project to solidify your skills. This course offers a comprehensive deep dive into Yarn, a powerful tool for managing JavaScript dependencies and packages. Starting with the fundamentals, you will learn how to initialize a Yarn project, manage dependencies, and utilize semantic versioning. The course covers everything from installing and importing dependencies to understanding the critical role of the Yarn lock file in ensuring consistent environments. As you progress, you'll explore advanced Yarn features, including the offline cache, Plug’n’Play (PnP), and Yarn workspaces for managing monorepos. You'll gain hands-on experience configuring Yarn using the .yarnrc.yml file, a crucial skill for maintaining efficient development environments. The course also dives into publishing packages with Yarn, teaching you how to prepare, version, and share your packages on NPM. The capstone project allows you to apply your newfound skills by creating a Monorepo Task Manager CLI tool. You'll implement core and task management packages while testing your tool, providing valuable real-world experience. By the end of the course, you'll be able to confidently use Yarn for any JavaScript project, from managing dependencies to publishing and distributing packages. This course is designed for JavaScript developers at any skill level who want to master Yarn for efficient project and package management. It's ideal for those seeking to learn dependency management, optimize development workflows, and explore Yarn's advanced features. No prior knowledge of Yarn is required, but familiarity with JavaScript and npm is recommended. The course combines clear theoretical explanations with hands-on practical exercises. You'll learn by doing, applying concepts through real-world examples and a final project. This approach ensures you gain not just knowledge, but also practical skills to use Yarn in your own projects. Whether you're a beginner or experienced developer, this course provides everything needed to master Yarn. This course is based on Mastering Yarn: The Complete Guide (Beginner to Advanced), by Ahmed Elsakka. This course is licensed and distributed by Packt. All rights reserved. Packt is one of the world's most prolific publishers of cutting-edge technical content. For over two decades we've made it our mission to curate and publish the knowledge of only the very best technical experts. We focus on real-world courses that help our customers get the job done, with coverage that extends across a wide range of established and cutting-edge technical topics. If you're an individual or an organisation that embraces learning by doing, Packt is the perfect fit for you.

Syllabus

  • Introduction
    • 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.
  • Yarn Basics
    • 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.
  • Advanced Yarn Features
    • 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.
  • Publishing Packages with Yarn
    • 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.
  • Capstone Project - Creating a Monorepo Task Manager CLI Tool
    • 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.

Taught by

Packt - Course Instructors

Reviews

Start your review of Mastering Yarn: The Complete Guide (Beginner to Advanced)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.