JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q47980F
  • License MIT

Helper for setting up redis using redis for mimik microservices

Package Exports

  • @mimik/rediser
  • @mimik/rediser/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mimik/rediser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

rediser

Example

import redis from '@mimik/rediser';

rediser~validate() ⇒ Promise

Database connection validation.

Kind: inner method of rediser
Returns: Promise - .
Category: async
Throws:

  • Promise Will throw an error if the database connection is not connected and is not disconnected.

Will exit 1 if the connection request times out and the connection state is not connected.

Requires: module:@mimik/sumologic-winston-logger
Fulfil: Return null.

rediser~initializeSync() ⇒ object

Database initialization.

Kind: inner method of rediser
Returns: object - The database object.
Category: sync
Requires: module:sumologic-winston-logger