Common util for node applications.