UNPKG

@gdsmack/startups

Version:

Allows user to read Startups.co articles on cli

21 lines (13 loc) 299 B
var str = require('string-to-stream'); var pager = require('default-pager'); function printArticles(text){ str(text).pipe(pager(function () { console.log('(END)'); })); } function show(text) { printArticles(text) } module.exports = { show: show };