Methods
-
getAll(options)
-
Takes a glob pattern and returns an array of table files
Parameters:
Name Type Description options
Object Properties
Name Type Argument Default Description src
String Glob pattern of target files
format
string <optional>
JSON A string switch that tells flatly what format the source files are in
Returns:
- Type
- Array
Example
var files = io.getAll('../data/*.json')