index.js
function (name, path, options) {
        options = options || {}
        options.attachment = true
        return handleField(name, path, options)
      }
function (name, path, options) {
        options = options || {}
        options.attachment = true
        return handleField(name, path, options)
      }
function ( name , path , options ) { options = options || { } options . attachment = true return handleField ( name , path , options ) }
Attaches a file to the multipart-form request.

@param  {String} name
@param  {String|Object} path
@return {Object}
Attaches a file to the multipart - form request .