index.js
/** Function: storeMetaData
 * Converts the metaData object to a JSON string and stores it to the file at
 * the given path.
 *
 * Parameters:
 *     (Object) metaData - Object to save as JSON
 *     (String) file - Target file path
 */
storeMetaData
Converts the metaData object to a JSON string and stores it to the file at
the given path.

(Object) metaData - Object to save as JSON
(String) file - Target file path
storeMetaData Converts the metaData object to a JSON string and stores it to the file at the given path . ( Object ) metaData - Object to save as JSON ( String ) file - Target file path
function storeMetaData(metaData, file, descriptions) {
    try {
        metaData.description = cleanArray(descriptions).join('|');
        fse.outputJsonSync(file, metaData);
    } catch(e) {
        console.error(e);
        console.error('Could not save meta data for ' + file);
    }
}
function storeMetaData ( metaData , file , descriptions ) { try { metaData . description = cleanArray ( descriptions ) . join ( '|' ) ; fse . outputJsonSync ( file , metaData ) ; } catch ( e ) { console . error ( e ) ; console . error ( 'Could not save meta data for ' + file ) ; } }
Function: storeMetaData
 Converts the metaData object to a JSON string and stores it to the file at
 the given path.
Function : storeMetaData Converts the metaData object to a JSON string and stores it to the file at the given path .