UNPKG

@uppy/utils

Version:

Shared utility functions for Uppy Core and plugins maintained by the Uppy team.

9 lines (7 loc) 208 B
import dataURItoBlob from './dataURItoBlob.js' export default function dataURItoFile( dataURI: string, opts: { mimeType?: string; name?: string }, ): File { return dataURItoBlob(dataURI, opts, true) }