Socket
Socket
Sign inDemoInstall

vorpal-less

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vorpal-less

Less implementation for Vorpal.js


Version published
Weekly downloads
105
increased by2.94%
Maintainers
1
Install size
23.4 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 04 Feb 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc