integrated https://github.com/manuelkiessling/NodeBeginnerBook/pull/33
by @ha-minh-vuong