adding typings for nodejs usage