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

143
Views
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
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!