4 ms·
Good list to ponder trade off Node js Express packages , all in one place !!!!! > But still a bunch that I haven't gotten to googling and still need to decide
by LrnByTeach 9y ago
Good list to ponder trade off Node js Express packages , all in one place !!!!!
> But still a bunch that I haven't gotten to googling and still need to decide on what to choose:
logging (morgan vs winston)
validation (express-validator, joi)
auth (passport jwt, local, social)
session storage (redis vs keeping it in database?)
database (mongo/mongoose vs
pg/knex/bookshelf/sequelize, graphql)
storage (s3 vs gcs)
ajax requests (request vs axios)
mail (mailgun, sendgrid, mailchimp)
error handlers
rate limiting
geo ip
- cheapsteak 9y agoFor those who don't have too too much time to spend comparing stacks, looking at download trends is sometimes a decent heuristic for weeding out which you might not want to throw into a production system yet. Shameless plug for a site I made to help visualize that logging - morgan vs winston - popularities seem similar, although winston has a bit of a lead: https://npmcharts.com/compare/morgan,winston https://npmcharts.com/compare/morgan,winston validation - express-validator vs joi - joi no question: https://npmcharts.com/compare/express-validator,joi https://npmcharts.com/compare/express-validator,joi SQL ORMs - sequelize and knex were neck and neck for a while, but sequelize seems to have pulled ahead in the last couple months. bookshelf is way behind. https://npmcharts.com/compare/knex,bookshelf,sequelize https://npmcharts.com/compare/knex,bookshelf,sequelize