Skip to content

new read methods #17

@jimmywarting

Description

@jimmywarting

new blobs already have a promise api - it should be recommended/mention that it's now possible to do

  • await blob.text()
  • await blob.arrayBuffer()
  • blob.stream()
  • await new Response(blob).json()
  • img.src = URL.createObjectURL(blob) cuz you don't need base64 dataUrl

and using the filereader is discouraged since NodeJS have buffer.Blob but no FileReader for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions