javascript - Create a file object or Blob -


how can create file object or blob object in node js? object required should same while uploading file form in html.

you can't directly create objects file api, because that's api designed client side , implemented browsers.

if wanted to, implement same objects (the api documented, of course), make more sense use nodejs's file system api instead.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -