Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

200
Vistas
how can I use sheet_to_json to modify an existing sheet with sheetjs?

I want to keep updating the same sheet with new json. This code works to add a sheet, but it throws an error if the sheet exists

const wb = xlsx.readFile("test.xlsx")
const ws = xlsx.utils.json_to_sheet(json)
xlsx.utils.book_append_sheet(wb, ws, "test.xlsx")
xlsx.writeFile(wb, "test.xlsx")

I'd like to over write existing data as another sheet is using the cells as a reference

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda