lib/bodystructure.js
function processAttachmentNode(node, options) {
    options = options || {};

    var data = [].concat(getBasicFields(node, options));

    if (!options.body) {
        data = data.concat(getExtensionFields(node, options));
    }

    data.node = node;
    return data;
}
function processAttachmentNode(node, options) {
    options = options || {};

    var data = [].concat(getBasicFields(node, options));

    if (!options.body) {
        data = data.concat(getExtensionFields(node, options));
    }

    data.node = node;
    return data;
}
function processAttachmentNode ( node , options ) { options = options || { } ; var data = [ ] . concat ( getBasicFields ( node , options ) ) ; if ( ! options . body ) { data = data . concat ( getExtensionFields ( node , options ) ) ; } data . node = node ; return data ; }
Processes a non-text, non-multipart node

@param {Object} node A tree node of the parsed mime tree
@param {Object} [options] Optional options object (see createBodystructure for details)
@return {Array} BODYSTRUCTURE for the part
Processes a non - text non - multipart node