Tagged “Node.js”
--- desc: ---Node.js 20.12.0 introduced a native way to load environment variables from a .env file using the loadEnvFile() function from the node:process module. This is a great addition because it eliminates the...
Webpack and other bundlers often produce large JavaScript bundles that can negatively impact web application performance. While Webpack Bundle Analyzer offers a visual way to analyze bundle contents...
Working with modules in Node.js has evolved significantly. It used to be simple: CommonJS was the only game in town. With the introduction of ES Modules (ESM) and their stabilization in Node.js,...
Installing a package like sharp involves more than just downloading JavaScript files. Developers frequently encounter "native modules"—packages that include C or C++ code. These modules...
Like many developers, I hoard digital content—articles, papers, code snippets, and videos. Over time, organization became a significant friction point. My solution was to build a Digital Object...
Ever since Node was introduced, it has always included a package manager to handle dependencies. For many years NPM was the only game in town, but over time several alternatives have emerged, each...
Managing monorepos, a single repository with multiple packages (each with its own package.json and dependencies), can be challenging. This is where NPM workspaces come in. This post will cover what...
Link to Archive
See all tags.