[Web dev for beginners] Installing npm packages and bundling
A beginner's guide to using npm packages and bundling JavaScript code for web development projects.
A beginner's guide to using npm packages and bundling JavaScript code for web development projects.
Explains the evolving roles of dependencies and devDependencies in modern JavaScript/Node.js projects, beyond their original npm library purpose.
A guide explaining how to use the npm 'exports' field in package.json to control how users import files from your library, covering both ESM and CJS.
How to specify a Node.js version for an Azure Static Web App GitHub Action by using the engines field in package.json.
Explains how to upgrade indirect npm dependencies, covering semantic versioning, caret/tilde ranges, and practical steps for security updates.
Explains how to fix TypeScript module resolution errors for submodules in multi-entry packages using typesVersions.
A guide on how to choose an open source project to contribute to, emphasizing projects you use regularly.
Explains the differences and purposes of package.json and package-lock.json files in Node.js projects, focusing on dependency management.
A beginner's guide to using npm for managing Node.js packages, covering installation, project setup, and dependency management.
A developer ends an experiment to fund open source maintainers via sponsorship messages during software installation, discussing the challenges of open source sustainability.
Explains the optimal timing for running `npm init` in open-source projects to automatically generate helpful metadata links in package.json.
Explains the risks of inconsistent package lockfiles in npm/Yarn and how to enforce strict dependency installation using `npm ci` or `--frozen-lockfile`.
A guide to configuring an Angular library to support automatic updates and code migrations using the `ng update` command.
A tutorial on using Nodemon to automatically restart a Node.js server during development, eliminating the need for manual restarts.
A guide on how to remove Vue.js and other optional dependencies from a new Laravel project's frontend setup.
A developer shares tips and code examples for creating a command-line interface (CLI) tool using Node.js, yargs, and Jest.
Explains how NPM scripts eliminate the need for globally installing command line tools by using local node_modules/.bin.
A guide to advanced npm usage, covering npm init, package.json, and npm install commands for efficient Node.js project management.
A step-by-step guide on how to publish a Node.js module to the npm registry, covering account setup, package.json configuration, and the publish command.
A tutorial on creating and publishing a Node.js command-line script, including setting up the package.json and using npm link.