English
Appearance
Converts a File object to a text string.
File
import { toText } from 'rattail' await toText(new File(['Hello, world!'], 'hello.txt', { type: 'text/plain' })) // return 'Hello, world!'
file
Promise<string>