Some work on using require('readline');