|
|
|
|
|
by LrnByTeach
3149 days 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
|
|
logging - morgan vs winston - popularities seem similar, although winston has a bit of a lead: https://npmcharts.com/compare/morgan,winston
validation - express-validator vs joi - joi no question: 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