Skip to content
An ES2015 implementation of the grep command.
JavaScript
Find file
Latest commit af159d5 @dthree dthree 0.1.2
Failed to load latest commit information.
dist added fs autocompletion
examples performance improvements
src added fs autocompletion
test added -r support
.eslintignore initial commit
.gitignore coverage: 100% :fire:
.travis.yml test updates
LICENSE initial commit
README.md updated xo badge
gulpfile.js initial commit
package.json 0.1.2

README.md

Vorpal - Grep

Build Status Coverage Status XO code style

A 100% Javascript (ES2015) implementation of the grep command.

A Vorpal.js extension, vorpal-grep lets you grep content in a Vorpal environment!

Letter-perfect POSIX implementation, 31 tests, 100% coverage.

Installation

npm install vorpal-grep
npm install vorpal

Getting Started

const vorpal = require('vorpal')();
const hn = require('vorpal-hacker-news');
const grep = require('vorpal-grep');

vorpal
  .delimiter('node~$')
  .use(hn)
  .use(grep)
  .show();
$ node hacker-news.js
node~$ hacker-news | grep "Vorpal"
4. Vorpal: a framework for interactive CLIs in Node.js (github.com)
node~$

Contributing

Feel free to contribute! So far 13 options are supported, help get them all supported!

License

MIT © David Caccavella

Something went wrong with that request. Please try again.