Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 462 Bytes

multipart.md

File metadata and controls

10 lines (10 loc) · 462 Bytes

Stream transform for MIME multipart

import { multipartParser, multipartFormatter }from 'f-streams-async'

  • transform = multipartParser(options)
    Creates a parser transform.
    The content type, which includes the boundary,
    is passed via options['content-type'].
  • transform = multipartFormatter(options)
    Creates a formatter transform.
    The content type, which includes the boundary,
    is passed via options['content-type'].