data/import.js
/**
 * Walks the app input directory, filters json files only, parses them and calls
 * the callback with that JSON as argument
 * @param {(json: object) => any} callback 
 */
Walks the app input directory, filters json files only, parses them and calls
the callback with that JSON as argument
@param {(json: object) => any} callback
Walks the app input directory filters json files only parses them and calls the callback with that JSON as argument @param { ( json : object ) = > any } callback
function loopFiles(callback)
{
    return Lib.forEachFile({
        dir   : getInputDir(),
        filter: path => path.endsWith(".json")
    }, callback);
}
function loopFiles ( callback ) { return Lib . forEachFile ( { dir : getInputDir ( ) , filter : path => path . endsWith ( ".json" ) } , callback ) ; }
Walks the app input directory, filters json files only, parses them and calls
 the callback with that JSON as argument
 @param {(json: object) => any} callback
Walks the app input directory filters json files only parses them and calls the callback with that JSON as argument @param { ( json : object ) = > any } callback