a node module for inputing a ascii text pattern to console