Provides information about files. Extends Blob.
Also available via require('node:buffer').File.
See also:
Constructor
Variables
The last modified date of the file (milliseconds since UNIX epoch).
Inherited Variables
Defined by Blob
The total size of the Blob in bytes.
The content-type of the Blob.
Inherited Methods
Defined by Blob
Returns a promise that fulfills with an ArrayBuffer containing a copy of the Blob data.
Returns a promise that fulfills with a Uint8Array containing a copy of the Blob data.
Creates and returns a new Blob containing a subset of this Blob's data.
Returns a promise that fulfills with the contents of the Blob decoded as a UTF-8 string.