@cloud-shop/utils
TypeScript icon, indicating that this package has built-in type declarations

1.2.10 • Public • Published

Cloud Shop Utilities Library

Includes the following express middleware:

  • current user
  • error handler
  • require authentication
  • validate request

And includes the following error classes:

  • BadRequestError
  • CustomError
  • DatabaseError
  • NotAuthorizedError
  • NotFoundError
  • RequestValidationError

Readme

Keywords

none

Package Sidebar

Install

npm i @cloud-shop/utils

Weekly Downloads

0

Version

1.2.10

License

ISC

Unpacked Size

17.7 kB

Total Files

24

Last publish

Collaborators

  • mustafah15