Extend nodejs util api, and it is light weight and simple