Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

118
Visualizações
How to read .xls with ExcelJS?

I'm having trouble reading a .xls file using the ExcelJS library. No problems reading .xlsx files. I used to use only the xlsx js library and did not have any issues reading .xls files.

I was under the impression ExcelJS included xlsx library so my assumption was that reading .xls would work as expected.

So my question is...can I convert .xls to .xlsx using exceljs (I cannot require a user to convert the file themselves in excel) or can I somehow implement the unzip from xlsx js library and incorporate it in the exceljs source code to make it possible?

I switched to exceljs because it seemed more straightforward when it comes to creating excel files.

Also, I'm not sure if it makes a difference, but the xlsx project I had reading .xls files was on a PC and currently I'm coding this new project on a Mac.

Thanks All

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

XLS is a 'closed' legacy Microsoft binary format, though people have developed plenty of tools to manipulate them. You can open an XLSX file in a text editor - it's text. Microsoft's goal was to make using the Excel and Word formats easier to integrate by switching to XML.

It would take an interesting amount of code on the front end to deal with XLS files. If you find a library, the creator will likely have a paid license program. If you can't find a library, maybe you can locate a web service (or create one) that can convert between the two formats on the server side.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda