examples/file-cache.js
function processComments(file) {
    let data = JSON.parse(file);

    return data.map(x => ({
        title: x.name,
        subtitle: x.email,
        arg: x.id,
        valid: true
    }));
}
function processComments(file) {
    let data = JSON.parse(file);

    return data.map(x => ({
        title: x.name,
        subtitle: x.email,
        arg: x.id,
        valid: true
    }));
}
function processComments ( file ) { let data = JSON . parse ( file ) ; return data . map ( x => ( { title : x . name , subtitle : x . email , arg : x . id , valid : true } ) ) ; }
My fancy processing function that takes longer than I'd like to complete
@param {string} file Input file
@return {Object}
My fancy processing function that takes longer than I d like to complete