Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

371
Views
¿Cómo puedo leer un XLSX protegido con JavaScript en el servidor?

¿Cómo puedo leer un XLSX protegido con JavaScript en el servicio? Estoy usando una biblioteca de hojas, la biblioteca xlsx-populate no funciona en el servidor.

 <html> <label for="file-selector">Select a file</label> <input type="file" id ="file-selector" required=""> </html> <script> const file = document.getElementById("file-selector").files[0]; file.arrayBuffer().then((res) =>{ let data = new Uint8Array(res); let workbook = XLSX.read(data,{password:"",type:"array"}); let first_sheet_name = workbook.SheetNames[0]; let worksheet = workbook.Sheets[first_sheet_name] let jsonData = XLSX.utils.sheet_to_json(worksheet,{raw:true}); </script>

Error: el archivo está protegido con contraseña

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!