Comparing version 1.0.5 to 1.0.6
@@ -10,10 +10,1 @@ const | ||
exports.VDT = vdos.VirtualDirectoryTree; | ||
vdos.VirtualDirectoryTree('./', (vdt) => { | ||
vdt.search('test', (results) => { | ||
console.log('Found ' + results.length + ' items'); | ||
for (var i = 0; i < results.length; i++){ | ||
console.log(results[i].fullPath); | ||
} | ||
}); | ||
}); |
{ | ||
"name": "fsgod", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Secure file sharing, hosting, and transfer", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ | ||
The only component thus far (v 1.0.5) is the Virtual Directory Tree (VDT). | ||
The only component thus far (v 1.0.6) is the Virtual Directory Tree (VDT). | ||
@@ -31,3 +31,3 @@ The purpose of this library is to make dynamic managing of any size of file system easy and quick. | ||
The `vdt` object that gets passed to the callback in ```fsgod.VDT``` is the Virtual Directory Tree. ```fsgod.VDT``` recursively walks through a specified folder and builds each item into a JavaScript object and passes it back to the user in the callback. For the meantime (v1.0.5), ```fsgod.VDT``` can only be used to read and search file system data and content. If you'd like to help, email me at maui.wowie@tuta.io. | ||
The `vdt` object that gets passed to the callback in ```fsgod.VDT``` is the Virtual Directory Tree. ```fsgod.VDT``` recursively walks through a specified folder and builds each item into a JavaScript object and passes it back to the user in the callback. For the meantime (v1.0.6), ```fsgod.VDT``` can only be used to read and search file system data and content. If you'd like to help, email me at maui.wowie@tuta.io. | ||
@@ -34,0 +34,0 @@ ###VDT.search |
11639
181