Skip to content
tsmx

tsmx

pragmatic IT

  • start
  • npm-packages

Month: September 2021

Testing process.exit with Jest in NodeJS

27. September 202117. September 2021 by tsmx-dev

Demonstrating a pragmatic way on how to test code paths resulting in process.exit using the Jest test library.

Read more

Categories NodeJS Tags JavaScript, Jest, NodeJS, testing

Commander options hands-on – advanced CLI’s with NodeJS

30. April 202311. September 2021 by tsmx-dev

The Commander package is a great utility for building a CLI with NodeJS. This article provides a comprehensive hands-on for the various option features of Commander.

Read more

Categories NodeJS Tags CLI, Commander, NodeJS, option

Recent Posts

  • Secure configuration management for a GCP cloud function in Node.js
  • Default Node.js process.env variables in GCP cloud functions and app engine
  • CommonJS vs. ESM/ECMAScript cheat-sheet
  • Destructuring nested object properties in JavaScript
  • Convert an existing NodeJS project from CommonJS to ESM / ECMAScript

Categories

  • Cloud (1)
  • Development (5)
  • GCP (3)
  • JavaScript (2)
  • MongoDB (3)
  • NodeJS (17)

Archives

  • September 2023
  • August 2023
  • July 2023
  • May 2023
  • November 2022
  • June 2022
  • May 2022
  • April 2022
  • January 2022
  • November 2021
  • October 2021
  • September 2021
  • June 2021
  • March 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020

Links

Privacy Policy | Imprint

© 2023 tsmx • Built with GeneratePress
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkPrivacy policy