Skip to content
An ES2015 implementation of the "less" command.
JavaScript
Find file
Latest commit 4f3006a @dthree dthree 0.0.13
Failed to load latest commit information.
dist speed up rendering on piped input
examples speed up rendering on piped input
src speed up rendering on piped input
test tests to es5
.eslintignore initial commit
.gitignore initial commit
.travis.yml initial commit
LICENSE initial commit
README.md updated badge
gulpfile.js initial commit
package.json 0.0.13

README.md

Vorpal - Less

Build Status XO code style

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 vorpal

Getting 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 implemented so far will appear in its help menu:

vorpal~$ less --help
Implemented:
  • 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

Something went wrong with that request. Please try again.