Reference
?

Store.get

Reads a stored file's bytes on the backend.
Store.get(key) → Promise<Buffer>

Reads an object's bytes back into the backend as a Buffer, for parsing a document or feeding a model. To show a user their own file, hand them its URL instead of reading the bytes and streaming them yourself.

Parameters
key
string
RequiredThe object's key within the store.
Read bytes to parse
const bytes = await Uploads.get(key);
const text = bytes.toString('utf8');