Development
Yargs 18 Pitfalls
Upgrading Yargs from version 17 to 18 in a TypeScript project using Jest turned out to be a bit of a nightmare. The release notes for Yargs 18.0.0 include the line “yargs is now ESM first” — a seemingly small change that can cause major headaches. In this blog post, we’ll take a closer look at what that means and how to deal with it.
Hidden Quirks of JavaScript `for...in` Loops
The C-style three-expression for loop in JavaScript is often viewed as old school or awkward beginner style. Some developers automatically use a for...of, foreach, or for...in statement instead. But the latter has a subtle pitfall that can lead to unexpected behaviour.
Creating E-Invoices with Free and Open Source Software
Starting 1 January 2025, electronic invoicing will become mandatory for all B2B transactions in Germany. Several other countries in the European Economic Area have already adopted similar requirements, or will soon follow suit. As a result, many businesses in Germany are racing to implement electronic invoicing solutions, though many face challenges along the way. Discover how you can simplify this process by generating electronic invoices in multiple formats — using only free and open-source software.
Dynamic Angular Configuration
Angular apps traditionally rely on static configuration through environment files, necessitating separate builds for each environment ‐ a cumbersome process in practical scenarios. In this blog post, we describe an alternative, where configuration is loaded dynamically at runtime, streamlining development and enhancing flexibility. As an additional benefit, we will validate the configuration against a schema and add type-safety to it.