Skip to content
tsmx

tsmx

pragmatic IT

  • start
  • npm-packages

NodeJS

Using Apache Kafka for transferring files

16. April 2025 by tsmx-dev

A quick guide on how to use Apache Kafka as a sophisticated platform for exchanging files between applications and systems. The KafkaJS library is used on the producer and consumer side to implement a minimal working example.

Read more

Categories Development, NodeJS Tags Apache Kafka, JavaScript, Kafka, NodeJS

Migrating eslintrc.json to eslint.config.js in a CommonJS project

20. August 202419. August 2024 by tsmx-dev

A practical end-to-end guide for migrating an existing .eslintrc.json config (ESLint v8 and before) to the new flat file config eslint.config.js (ESLint v9 and above) in a CommonJS Node.js project including linting of unit-tests with Jest.

Read more

Categories NodeJS Tags CommonJS, configuration, eslint, eslintrc, flatfile, Jest, JSON

Built and signed on GitHub Actions – publishing npm packages with provenance statements

18. November 202317. November 2023 by tsmx-dev

A quick guide on how to set up a GitHub actions workflow to publish a npm package including the provenance badge and section on npmjs.com.

Read more

Categories NodeJS Tags badge, CI/CD, GitHub actions, NodeJS, npm, npmjs, provenance, workflow

Integrating GCP Secret Manager with App Engine environment variables

6. July 202415. October 2023 by tsmx-dev

Showing a convenient way on how to use Secret Manager to securely pass sensible data as environment values to Google App Engine (GAE) services running with Node.js.

Read more

Categories GCP, NodeJS Tags app engine, GAE, GCP, JavaScript, NodeJS

Secure configuration management for a GCP cloud function in Node.js

3. September 20232. September 2023 by tsmx-dev

Creating a convenient and production-grade configuration management for a GCP cloud function in Node.js using Secret Manager and the secure-config package. Includes a complete example project on GitHub.

Read more

Categories GCP, NodeJS Tags cloud function, configuration, configuration-management, GCP, NodeJS

Default Node.js process.env variables in GCP cloud functions and app engine

24. August 202321. August 2023 by tsmx-dev

Discovering the default process.env variables provided in cloud functions and app engine services on Google Cloud Platform covering Node.js 16, 18 and 20 as well as Gen1 and Gen2 functions. Including a simple project for retrieving the values.

Read more

Categories GCP, NodeJS Tags app engine, cloud function, env-var, environment variables, NodeJS, variables

CommonJS vs. ESM/ECMAScript cheat-sheet

20. August 202316. August 2023 by tsmx-dev

Short comparison of the most common statements in CommonJS vs. ESM/ECMAScript for importing, exporting and in your package.json.

Read more

Categories JavaScript, NodeJS Tags CommonJS, ECMA, ESM, JavaScript, NodeJS

Destructuring nested object properties in JavaScript

16. August 202324. July 2023 by tsmx-dev

Quick tutorial on how to use destructuring for accessing nested JavaScript object properties.

Read more

Categories JavaScript, NodeJS Tags JavaScript, NodeJS

Convert an existing NodeJS project from CommonJS to ESM / ECMAScript

20. August 202325. May 2023 by tsmx-dev

A quick guide for converting your existing NodeJS projects from CommonJS to ESM/ECMAScript. Including Express, Jest, Supertest and ESLint.

Read more

Categories NodeJS Tags CommonJS, convert, ECMAScript, ES6, eslint, ESM, JavaScript, Jest, project

Express: passing dates in an URL using route parameters including regex validation

28. May 20246. June 2022 by tsmx-dev

Showing an elegant way on passing dates to your REST API’s and webservices using Express route parameters and regex validation standard features.

Read more

Categories NodeJS Tags Express, JavaScript, NodeJS
Older posts
Page1 Page2 Page3 Next →

Recent Posts

  • Using Apache Kafka for transferring files
  • Using Secrets Manager environment variables in AWS ECS
  • React + TypeScript + Bootstrap quick start powered by Vite
  • Using pgAdmin running in Docker to access a dockerized PostgreSQL
  • Migrating eslintrc.json to eslint.config.js in a CommonJS project

Categories

  • AWS (1)
  • Cloud (2)
  • Development (7)
  • GCP (4)
  • JavaScript (2)
  • MongoDB (3)
  • NodeJS (21)
  • Oracle DB (1)
  • PostgreSQL (4)
  • React (1)

Archives

  • April 2025
  • January 2025
  • December 2024
  • August 2024
  • June 2024
  • May 2024
  • November 2023
  • October 2023
  • 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

© 2025 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