Is Knex.js Still Considered a Good Choice for Long-Term Projects?

0
17
Asked By CuriousCoder92 On

I noticed that the last release of Knex.js was back in December 2023, and I'm wondering if it's still actively maintained. I'm planning to start a project that I want to last for the next decade, and I'm looking for a solution that won't demand much maintenance over time. Would Knex.js be a suitable choice, or would it be wiser to stick with basic SQL queries instead?

4 Answers

Answered By DataDynamo On

There hasn't been much activity in Knex's changelog in the past few years. If you already have existing projects that use it, it's probably okay, but for something new, I’d suggest looking into basic SQL or exploring other tools like Sequelize, Prisma, or TypeORM.

Answered By CodeSage On

I'd go for Kysely or Drizzle, especially if you’re using TypeScript. Kysely feels more like writing SQL, while Drizzle offers a lighter ORM experience. Just a heads up, Sequelize seems to be pretty stagnant nowadays.

Answered By BoringTechFan On

Don’t forget that Knex can handle basic SQL if needed! When building something for the long haul, I lean towards using simpler, more stable tech. Basic SQL is super reliable and Knex feels just as solid, so either could work for your project.

Answered By TechieTim On

From what I've heard, Knex.js isn't really maintained anymore. If you want something low-maintenance for a long time, you might be better off going with basic SQL or a minimal library that won't require regular updates.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.