0.0.1 • Published 9 years ago

trovare v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

Trovare

Simple nodejs module to find a string recursively in a folder

Install it

npm install trovare

or install it globally if you want to use it on the command-line

npm install trovare -g

Usage

var Trovare = require('trovare');
var trovare = new Trovare('/tmp/folder', 'node');

trovare.search(function(result) {
    console.log(' File: ' + result.file + ': ' + result.lineNumber);
    console.log(' Line: ' + result.line);
    console.log('  ');
});

Terminal usage

Trovare will always use the current terminal folder as it's search path

# Single world serchTerm
trovare string-to-search
# Multi world serchTerm
trovare "string to search"
0.0.1

9 years ago

0.0.0

9 years ago