User input in REASON


#1

I am attempting to obtain user input using REASON programming language. To compile ReasonML code to Javascript, I am using BuckleScript and executing it with “node”.

As per the documentation at https://redex.github.io/package/bs-readline16, I installed bs-readline using “npm i --save” command. Additionally, I added bs-readline to bs-dependencies in my bsconfig.json file.
However, Readline is still not being recognized.
How can I solve this and receive user input?