ssi-common
v0.0.7
Published
Every nodejs application must have in this plugin
Maintainers
Readme
Ssi Common
This package is developed entirely with TypeScript. It can be used with TypeScript or JavaScript.
Note: It is still under development and not stable. Please do not use it for production. It will be stabilized with Version 1.0.0.
Documentation
Note: Once stable, documentation will be detailed and examples will be added.
Setup
$ npm install ssi-commonAvailable Error List
BadRequestError
DatabaseConnectionError
NotFoundError
NotAuthorizedError
RequestValidatorError
CorsError
ParameterError
Available Middlewares List
ssiErrorHandlerMiddleware
ssiResponseMiddleware
ValidatorMiddleware - Class
Available Helpers List
BusinessRules
CryptoHelper
DateHelper
routeWrapper
FileStreamHelper
Available Response List
Success
SuccessData
Error
ErrorData
Created
CreatedData
Unauthorized
Forbidden
BadRequest
NotFound
InternalServer
For source codes click here
