Short comparison of the most common statements in CommonJS vs. ESM/ECMAScript for importing, exporting and in your package.json.
JavaScript
Destructuring nested object properties in JavaScript
Quick tutorial on how to use destructuring for accessing nested JavaScript object properties.