grepr
Advanced tools
Comparing version 2.0.1 to 2.1.0
{ | ||
"name": "grepr", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "node.js module that implements a recursive grep function.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,3 +12,3 @@ | ||
Function prototype is `function(string,dir,callback)` where: | ||
Function signature is `function(string,dir,callback)` where: | ||
@@ -28,3 +28,3 @@ * `string`: is the string to search; | ||
console.log("FOUND in "+file); | ||
console.log("indices\n"+indices); | ||
console.log("INDICES\n"+indices); | ||
console.log("LINES\n"+lines); | ||
@@ -31,0 +31,0 @@ }); |
@@ -5,3 +5,2 @@ | ||
grepr("tempo","./test", function(file,indices,lines){ | ||
@@ -11,2 +10,2 @@ console.log("FOUND in "+file); | ||
console.log("LINES\n"+lines); | ||
}); | ||
}); |
23455
85