Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

nodejs save blob file

var imageBuffer = request.file.buffer;
var imageName = 'public/images/map.png';

fs.createWriteStream(imageName).write(imageBuffer);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nodejs #save #blob #file
ADD COMMENT
Topic
Name
1+8 =