lib/utils.js
function removeOptions(args, keys) {
    if (!_.isArray(keys)) {
        keys = [ keys ];
    }
    for (var index = 0; index < args.length; index++) {
        var arg = args[index];
        for (var key in arg) {
            if (_.includes(keys, key)) {
                delete arg[key];
            }
        }
    }
}
function removeOptions(args, keys) {
    if (!_.isArray(keys)) {
        keys = [ keys ];
    }
    for (var index = 0; index < args.length; index++) {
        var arg = args[index];
        for (var key in arg) {
            if (_.includes(keys, key)) {
                delete arg[key];
            }
        }
    }
}
function removeOptions ( args , keys ) { if ( ! _ . isArray ( keys ) ) { keys = [ keys ] ; } for ( var index = 0 ; index < args . length ; index ++ ) { var arg = args [ index ] ; for ( var key in arg ) { if ( _ . includes ( keys , key ) ) { delete arg [ key ] ; } } } }
Delete keys from objects

@param {Object[]} args
@param {String|String[]} keys
Delete keys from objects