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

138
Vistas
Is TaffyDB still valid?

I tried to install TaffyDB using the command npm install --production taffy given on the Github repository and I got the warning "npm WARN deprecated taffy@2.6.2: Please do not use this package it has a major security vunability - check https://snyk.io/vuln/search?q=taffy&type=npm for details."

Is there a new version somewhere or should TaffyDB not be used anymore? If not, are there better alternatives? All I would like to do is select an item in a JSON array using a set of values in NextJS.

To be more specific, I have an array of product variants with, for simplicity, just a set of option values i.e.

product_variants = [
  {
    "id": 1,
    "color": "red",
    "size": "medium",
    "material": "polyester"
  },
  {
    "id": 2,
    "color": "blue",
    "size": "medium",
    "material": "polyester"
  },
  {
    "id": 3,
    "color": "red",
    "size": "small",
    "material": "nylon"
  },
  ...
]

When a user clicks a selection of buttons on the product detail page e.g. {"color":"red", "size":"small"}, I want to be able to extract product variants matching this set of selections.

I'm new to JavaScript but not at all to programming and am unsure what I can use to achieve my objective.

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