path-complete

tab path completion for stdin

npm install path-complete
12 downloads in the last week
13 downloads in the last month

path-complete for Node.js by @tonylukasavage

path-complete is a Node.js package for command line TAB path completion.

Video Demonstration

https://vimeo.com/38800422

Installation

npm install path-complete

Basic Usage

You can run the extremely simple test case by executing node test/test.js or use the code below to do the same.

var pc = require('path-complete');
pc.getPathFromStdin(function(path) {
    console.log('');
    console.log('path: ' + path);
});
npm loves you