
Kick off npm mastery by learning npm basics, dependency management, semantic versioning, scripts, and publishing, then build a cli tool through a capstone project.
Npm is the default Node.js package manager for Node.js and is used for any JavaScript project. It manages packages, resolves dependencies, and runs custom scripts, ensuring consistent environments and automation.
Explore the package.json file created by npm init, including name, version (semver), main entry, scripts, and metadata; learn how npm adds dependencies and updates versioning.
Learn how to install dependencies with npm, understand dependencies and package.json, and manage packages like chalk and express from the command line, including install, uninstall, and verifying versions.
Learn to fetch npm's GitHub user information with Axios by installing the Axios dependency, writing an API call in index.js, and displaying the response in the console.
Install and import axios from npm, make a get request returning a promise, and log response data; understand CommonJS vs ES module syntax and package.json type module settings.
Learn how semantic versioning labels software versions with major, minor, and patch components and how npm uses prefixes like carrot, tilde, and exact versions to control updates.
Learn to use npm outdated to spot outdated dependencies, install specific or latest versions (like axios), and understand wanted versus latest in semver, updating node_modules without changing package.json.
Learn the difference between local and global npm installations, how dependencies appear in package.json and node_modules, and how to install, uninstall, and use globally with the -g flag.
Explore npm dependency types: regular dependencies, development dependencies (via --save-dev or -D), and peer dependencies. Learn when libraries should rely on host-project installations like React.
Locking dependencies with package-lock.json ensures reproducible npm installs across teams by recording exact versions and pushing the lock file to version control.
Learn how npm scripts in package.json automate tasks like testing, building, and starting a dev server. Create and run scripts with npm run or with npm start, and chain commands.
Set environment variables in a node app via custom scripts using cross-env, exposing a node_env variable to switch between development and production, with npm run start-dev and npm run start-prod.
Define pre and post npm script hooks to run actions automatically before and after other scripts. Apply these hooks to lint before building and deploy after building to streamline workflows.
Create an npm package from scratch and publish it to the npm registry, focusing on the process of creating and publishing, with simple string utility functions.
Set up a new npm package by creating a folder, running npm init, and defining package.json fields like name, version, and description, then create index.js as the main entry point.
Implement an npm package by creating capitalize and reverse functions with type checks, exporting them via module.exports in an index.js entry point, laying groundwork for publishing.
Create a readme file that documents the package for npm, including installation instructions and usage, using a readme.md with a header and npm install string-tools.
Learn how to create an npm account by signing up, confirming your email, and signing in from the command line, so you can publish packages to the npm registry.
Search for existing package names with npm search to ensure uniqueness, rename the package in package.json and update the readme, then publish to the npm registry.
Fix the readme and package name, then publish a patch version using npm version patch under semver to yield version 1.0.1.
Create a new npm project, install the published package, and import it with require to reverse and capitalize strings; run index.js to verify the output.
Create and use a published npm package in a new project by initializing npm, installing the package, and importing it with commonjs to reverse and capitalize strings.
Create a command line interface that uses npm's API to fetch and display package metadata, demonstrated with package names like express and axios.
Initialize a node cli project, create the folder, scaffold index.js and fetch_package.js with a readme.md, and configure a Mbembe bin command while installing axios and shulk for a spinner.
Implement an npm command line package using ES modules, reading the package name from process.argv, and fetch registry data to display description, version, author, license, homepage, repository, and dependencies.
Test your npm package locally by running npm install and npm link, execute the Mbembe command-line tool with node via a shebang, and prepare for publishing to npm.
Publish your npm package by logging in, publishing, and adding a README with installation instructions. Then bump the patch version and publish again, install globally, and test the CLI.
Explore how JavaScript variables act as data containers using var, let, and const, log values with console.log, and distinguish undefined from null using typeof.
Explore how to define and invoke JavaScript functions, return values, and use arrow functions with ES6, including default parameters and var vs let scope.
Explore how JavaScript passes function arguments by value and by reference, using examples that double numbers and modify objects through references.
Learn about JavaScript arrays as zero-based lists of uniform data types, created with square brackets or the Array constructor, and manipulated via index access, length, push, unshift, and pop.
Explore JavaScript equality operators and how type coercion affects comparisons, including null vs undefined, numbers vs strings, booleans, and NaN; learn why strict equality (===) is often preferred.
Master the JavaScript for loop by learning its initialization, condition, and post-iteration expression, print numbers 0 to 9, and iterate arrays with break and continue for precise control.
Master document object model manipulation by using JavaScript to select elements, read and update content and styles, and dynamically create, append, or remove elements with event handling.
Level up your skills and stand out in the market by mastering NPM, the ecosystem that powers every modern JavaScript project.
In this hands-on bootcamp you’ll move from NPM novice to confident package publisher through a carefully structured, project-based curriculum.
Start by installing Node, initializing new projects, and demystifying the package.json file.
Then dive into core skills: installing, updating, and locking dependencies, resolving version conflicts, and understanding semantic versioning the way professionals do.
Next, automate your workflow with custom scripts, environment variables, and pre/post hooks that eliminate repetitive tasks. You’ll explore the differences between global and local installs and learn when each approach makes sense.
In the publishing module you’ll create, document, version, and release your own reusable library to the public NPM registry—gaining real-world experience with account setup, README best practices, and publishing commands.
Finally, cement your knowledge with a capstone: build an interactive “NPM Package Explorer” CLI that showcases everything you’ve learned.
Every lecture balances concise theory with practical demos, downloadable code, and challenges that reinforce mastery. Whether you’re a frontend engineer looking to streamline builds, a backend developer aiming to share utilities, or a student preparing for your first tech role, this course equips you with the end-to-end Node package workflow employers expect.
Join today and level up!