aos-server-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

aos-server-utils

Published Version: 1.0.2

Contains utilities such as Custom Errors, Keycloak Wrapper etc which are shared by various projects at Apconic.

  1. CustomErrors
    Extended Error classes which contains http error code and error message, which are sent to client when API request encounters an error.
    Also contains an errorHandler to handle CustomErrors as well as general errors

    Future release: Internationalized error message.
    More info

  2. Home server authenticator
    An injectable (refer: InversifyJS) Authenticator class to be used for authentication on API requests. Also contains a Mock Authenticator which can be used during development.
    More info

  3. Simple Express Decorators
    Very simple implementation of express decorators. Depends on inversify and Keycloak Authenticator (Module 2).
    More info

Readme

Keywords

Package Sidebar

Install

npm i aos-server-utils

Weekly Downloads

28

Version

1.0.2

License

MIT

Unpacked Size

52.2 kB

Total Files

56

Last publish

Collaborators

  • aos