search

Home  >  Q&A  >  body text

javascript - How to get the execl file uploaded by the front end using the FormData object in the Node.js background

The front-end code is as follows:

The background code is as follows:

files object output by node

淡淡烟草味淡淡烟草味2740 days ago850

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-24 11:40:50

    You have obtained the excel file correctly
    So the rest is to analyze it

    Use node-xlsx https://github.com/mgcrea/nod...
    Then xlsx.parse(file.buffer)

    reply
    0
  • Cancelreply