General utilities for nodejs