'I want convert this buffer to blob in TypeScript

file:
buffer: {type: 'Buffer', data: Array(599862)}
encoding: "7bit"
fieldname: "file"
mimetype: "application/msword"
originalname: "2020.doc"
size: 599862
[[Prototype]]: Object
file_location_new: "E:\\vimal\\aws_temp/candidate/resume-parser/09a45bd8-1b74-4fbc-8763-bad41d81cd6d.doc"
name: "09a45bd8-1b74-4fbc-8763-bad41d81cd6d.doc"
originalFilename: "2020.doc"
path: "/candidate/resume-parser"
schemaname: "cons"
size: 599862
type: "application/msword"


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source