A very, very simple interface to Node's ReadLine.question function. Allows for interactive command-line apps without line breaks between questions and their answers.
Here's a friendly conversation between you and a robot.
module Test.Main where import Prelude import Control.Monad.Aff (launchAff) import Control.Monad.Eff.Class (liftEff) import Control.Monad.Eff.Console (log) import Node.ReadLine.Question (question) main = launchAff $ do you <- question "What is your name" me <- question "What is my name" liftEff $ log $ "Hello, " <> you <> "!" liftEff $ log $ "I am a robot called " <> me <> "."
bower install purescript-node-readline-question
Module documentation is published on Pursuit.