Shared modules used for node.js applications developed by Salsita.
-
errors - Commonly used error classes
-
koa-error-middleware - Top level middleware for catching and displaying errors
-
koa-force-ssl - Middleware and server used to redirect user to secure connection on production
-
koa-joi-middleware - Middleware used on routes to validate input
-
koa-jwt-auth - Configures authentication middleware
-
koa-server - Function to create and configure typical koa server
-
lock - Function to create lock/mutex function
-
log - Default function to logging to console
-
prune-values - Removes keys with undefined values from object
-
psql - Functions and utilities for wrapping postgres DB connection
See nodejs-training repo for usage.