npm.io
1.0.5 • Published 9 years ago

galileo-screen

Licence
UNLICENSED
Version
1.0.5
Deps
1
Vulns
0
Weekly
0

galileo-screen

usage example

var screen = require('galileo-screen');

response = screen.wrapLines(response); //if your output is not wrapped, try A20NOVIEVCPH (availability screen)

if (previous_response) {
    response = screen.mergeResponse(previous_response, response);
}

if (screen.hasMore(response)) {
    //execute next MD somehow
} else {
    callback(null, response);
}

Keywords