We all know that JSON can only contain, arrays, objects, strings, numbers, booleans and null. But when working with javascript, it is easy to forget that you have implicitly converted a data structure to JSON and back and in the process actually modified the data structure.

Continue reading

Running node in docker

Running your code in docker can give you reproducibility and guarantee that your code does not depend on your working environment. Getting it to run just right with tests and a small image size is however fairly complicated. This article explains how to do it with sample code.

Continue reading

Author's picture

Mattias Holmlund

Täby, Stockholm, Sweden