Consider using the following package instead: Node AutoIt Koffi Since the ffi-napi repository is no longer maintained, I have started a new project.