Speaker

Omri Bar-Zik

Omri Bar-Zik

FrontEnd Infrastructure developer @ Outbrain

Petaẖ Tiqva, Israel

Actions

Omri Bar-Zik is a front-end Infrastructure developer at outbrain, an open-source contributor, and a tech lecturer.

Area of Expertise

  • Information & Communications Technology

Topics

  • NodeJS
  • Docker
  • JavaScript

Arborist module: How npm install REALLY works

We all typed it at least 1000 times. Whether it is for adding new packages or initializing a project for the first time, npm install is an everyday tool for all of us, but have you ever wondered what this command really does?

In this lecture, I will do a deep dive into how npm resolves your project dependencies, help you understand the complexity of converting your package.json into the trusty node_modules directory, and examine the engine that makes this task possible.

This session is for intermediate/advanced node.js developers, for those who want to understand their tools and the mechanisms behind them.

After the lecture, the audience will have a better grasp of how npm works, understand the different types of dependencies, prod/dev/peer, and their meaning, and be able to solve complicated peer dependencies conflict resolutions that beginners and even intermediate developers have a difficult time dealing with

Agenda:
1. Node.js module resolution algorithm
2. Arborist module - npm's brain: explanation and analysis
3. Deep understanding of the Arborist's challenges
4. Dealing with complicated resolution issues and conflicts

NodeTLV 2023 Sessionize Event

June 2023 Tel Aviv, Israel

Omri Bar-Zik

FrontEnd Infrastructure developer @ Outbrain

Petaẖ Tiqva, Israel

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top