Package Exports
- vorpal-less
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vorpal-less) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.
Installation
npm install vorpal-less
npm install vorpalGetting Started
const vorpal = require('vorpal')();
const hn = require('vorpal-hacker-news');
const less = require('vorpal-less');
vorpal
.delimiter('node~$')
.use(hn)
.use(less)
.show();$ node hacker-news.js
node~$ hacker-news | less
...
... content
...
:Examples
Implementation
vorpal-less aims to be a letter-perfect implementation of the less command you know (and love?). All features implmented so far will appear in its help menu:
vorpal~$ less --helpImplemented:
- Primary functionality, prompt, screen writing, etc.
- All navigation commands and shortcuts.
- Less-style help menu.
Contributing
Feel free to contribute! Additional work is needed on:
- Search options
- File-reading options
- Option flags
License
MIT © David Caccavella