NPM package link: https://www.npmjs.com/package/@cmhrtools/common
Installation: npm i @cmhrtools/common
Tools:
- Errors handler middleware
- Base publisher and Base listener (microservices)
- Auth middlewares
- Request validation middleware
- Helpers: JWT decode and generator
In case you are building a ticketing app you will have some extra tools:
- Status and Subject enums
- Events interfaces for orders, payments, tickets and expirations