Ship ESM & CJS in one Package
A guide for JavaScript library authors on how to package and ship both ESM and CommonJS formats to ensure compatibility during the ecosystem transition.
A guide for JavaScript library authors on how to package and ship both ESM and CommonJS formats to ensure compatibility during the ecosystem transition.
A technical guide to modeling one-to-one, one-to-many, and many-to-many relationships in MongoDB using the Mongoose ODM in Node.js.
Explains how Browserify bridges the gap between npm packages and browser usage, allowing developers to bundle dependencies for simple websites.
A developer reflects on the burnout and challenges of maintaining an open source project, leading to its eventual abandonment.
A guide to creating simple AWS serverless demo applications using Lambda, API Gateway, and ALB for debugging infrastructure.
A guide to starting a quick HTTP server from the command line using Python, Ruby, Node, and PHP as alternatives to the VSCode liveserver extension.
A tutorial on setting up and using the Neo4j Graph Database with Node.js, including connections, models, and basic CRUD operations.
A tutorial on handling file uploads in an Apollo GraphQL server and storing them in Google Cloud Storage using Node.js.
A solution for getting __dirname in both ESM and CommonJS modules, useful for TypeScript projects targeting both formats.
A tutorial on integrating Rust modules into Electron apps using the napi-rs library to improve performance for intensive tasks.
A step-by-step tutorial on implementing basic user authentication in a Node.js/Express app using MongoDB and JSON Web Tokens (JWT).
A technical guide on implementing pagination for DynamoDB queries using the AWS SDK for TypeScript and Node.js with async generators.
A step-by-step tutorial on setting up Tailwind CSS in a static HTML project using Node.js, npm, and the Tailwind CLI.
A tutorial on building a basic CRUD API using only Node.js core modules, covering RESTful conventions and implementation without external frameworks.
A tutorial on building a RESTful CRUD API using TypeScript with the NestJS and FoalTS frameworks, covering setup, controllers, and routes.
A tutorial comparing how to build a basic RESTful CRUD API using three popular Node.js frameworks: Express, Koa, and Fastify.
Explains a trick to reliably get a Node.js package's root directory by resolving its package.json file.
A guide on how to upgrade Node.js dependencies and fix vulnerabilities after running a yarn audit, including manual and automated methods.
Debugging and fixing the 'EMFILE: too many files open' error in AWS Lambda NodeJS by moving initialization logic and using Lambda Insights.
An in-depth look at how NPM works, covering its core components like the CLI, module resolution, and lockfiles, as part of an 'under-the-hood' series.