Skip to main content
Dublin Library

The Publishing Project

Tagged “Node.js”

--- desc: ---
load .env file in Node.js natively

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...

Generic Bundle Analyzer

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...

Revisiting Modules in Node.js

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,...

Why Are Native Node Packages Version Dependent?

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...

Building an AI-Powered Digital Object Repository

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...

Javascript Package Managers Deep Dive

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...

NPM Workspaces

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.