
Discover how this npm course is structured, from setup and essential commands to advanced topics, publishing an npm package, and npm with TypeScript, with flexible, non-linear learning paths.
Npm is a package manager for JavaScript libraries that fetches packages from an npm registry and helps organize dependencies, scripts, log files, updates, creating and publishing your packages.
Explore global dependencies in npm, learn when to install them with -g, and verify global installs using npm list and npm root, including considerations for Windows path and Linux permissions.
Explore advanced npm topics by running code from external packages with npx, managing peer dependencies, using the npm install flag for clean installs, updating packages, and configuring npm workspaces.
Explain npm peer dependencies using React as a plugin example, showing why projects declare React as a peer, not a direct dependency, and how npm 7+ handles installation and conflicts.
Learn how to identify and update outdated npm packages in a React project using npm outdated and npm update, ensuring package.json and node_modules reflect the latest minor versions.
Learn to use local npm packages by exporting a main index and installing from a local path, then test development for instant feedback without publishing.
Create a .npmignore to exclude src, tsconfig.json, and tests, ensuring the published package ships only the dist folder with logger.js and logger.d.ts.
Use npm audit to identify and explore vulnerabilities in a project, view detailed issues and GitHub links, then fix with npm audit fix, including force options to update major versions.
Learn how npm post install scripts create security risks through a malicious code example, and mitigate by using the ignore scripts flag or setting ignore scripts=true in npmrc.
Guard your npm projects against typo squatting and malicious packages by installing only popular packages, running npm outdated and npm doctor, and marking private packages in package.json.
Delegate uuid generation to a local id generator in a lib folder to ease maintenance, then consider using native crypto random uuids to reduce dependencies.
Demonstrates building c++ node js add-ons to call c++ code from a node project, including hello world, performance tests, and a parameterized sum via binding and initialization.
Explore two npm alternatives, yarn and pnpm, and learn how lock files, fast installs, version locking, and security improvements to dependency management.
Finish this NPM course with appreciation, and look for links to my other courses while you consider leaving a review.
Dependency management is hard and complicated. Npm is very powerful tool that handles it elegantly.
Hi and welcome to the only course you need to quickly start using Npm and then dive deeper into it' more advanced features.
This course is structured following the 80/20 rule:
In the first you will learn the npm commands and features you will use 80% of the time.
In the following sections, you will master npm at it' full power with advanced features.
Npm features covered in this course:
Understand the types of dependencies: local, global, and peer dependencies
Use the npm install command
Difference between dependencies and devDependencies
Npm Semantic Versioning or semver
Prepare your project to be run inside the browser with EsBuild
Understand the difference between CommonJs and EsModules
Understand how registries work by initializing your own private registry and publish packages to it
Create and use packages in a secure way with advanced security topics
C++ addons
Npm Workspaces
Use npm with Typescript
Use npm with Git
Understand Dependency Management and how Npm does it.
By the end of the course you will be able to use Npm and handle packages like a professional, by learning the most common commands and also by using the more advanced features that take years to discover.
Why this course stands out from other Udemy courses:
Fast paced, concise, most typing cut out - focus on explanations - respect for your time
Practical knowledge - presentations are kept to a minimum, we focus on what is really important
Programming active instructor - a great instructor never looses touch with the industry
Logical and flexible structure - take the course at your own pace
Big font, dark background, fullHD content, this way it is readable even on a small screen or even tablet.
Lifetime access
Certificate of completion to present to your current or prospective employer
Q&A active instructor
Instructor:
My name is Alex Horea, I'm an active senior web and Cloud developer and I want to pass you the knowledge I wish I had when I was a beginner. I strongly believe that practice is the best way to learn, and in this course you will learn the basics and most used Npm commands and then dive deeper into advanced features.
Go beyond the theory and learn from an active instructor, aligned with today's programming demands!