npm install vorpal-less

A 100% Javascript (ES2015) implementation of the less command.
A Vorpal.js extension, vorpal-less lets you pipe vorpal commands and content through less.
``bash`
npm install vorpal-less
npm install vorpal
`js
const vorpal = require('vorpal')();
const hn = require('vorpal-hacker-news');
const less = require('vorpal-less');
vorpal
.delimiter('node~$')
.use(hn)
.use(less)
.show();
`
`bash`
$ node hacker-news.js
node~$ hacker-news | less
...
... content
...
:
- Hackers News
- Rock Paper Scissors
vorpal-less aims to be a letter-perfect implementation of the less command you know (and love?). All features implemented so far will appear in its help menu:
`bash``
vorpal~$ less --help
##### Implemented:
- Primary functionality, prompt, screen writing, etc.
- All navigation commands and shortcuts.
- Less-style help menu.
Feel free to contribute! Additional work is needed on:
- Search options
- File-reading options
- Option flags
MIT © David Caccavella