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


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('path: ' + path);
npm loves you