cyt-utils

6.1.1 • Public • Published

CYT is a fork from the repo of the Software Architecture course in 2023/2024 edition. The goal of this project is to provide a fun way of learning and enhancing our general knowledge through an entertaining Q&A game.

Check out deployed docs on github pages for further information, and do not forget to explore our process over the wiki.

Forks Stars

Deploy on release Quality Gate Status Coverage

Open Issues Closed Issues Repo Size Code Size Languages Top Language Commit Activity Contributors Last Commit

Pull Requests License

Summary

This package contains some common code between al the microservices of the project. Here are some functionalities:

  • Generic field validator: For validating request object properties
  • i18next utilites: Utilities for initialize i18next as well as a middleware to change the i18next language on the fly based on language headers.
  • Logging utilities: Utilities for logging with winston, including a middleware for express and a logger factory.
  • Generic error handler: Middleware for express to handle errors, logs them and return a proper response.

Links of interest

Readme

Keywords

none

Package Sidebar

Install

npm i cyt-utils

Weekly Downloads

8

Version

6.1.1

License

ISC

Unpacked Size

7.07 kB

Total Files

10

Last publish

Collaborators

  • algarfer