@oculushealth/utils

0.1.5 • Public • Published

@oculushealth/utils

Utils package that is used in the Oculushealth projects.

Environment Variables

Following environment variables are needed

    PLIVO_AUTH_ID
    PLIVO_AUTH_TOKEN
    PLIVO_PHLO_ID
    PLIVO_SOURCE_NUMBER
    ENC_ALGO
    ENC_SALT
    AWS_REGION_NAME
    MAILGUN_API_KEY

Example usage

import {
  invokeLambda
} from "@oculushealth/utils";

(async function() {
  const response = await invokeLambda( {
    functionNme: "oh-lambda-function",
    invocationType: "RequestResponse",
    params: { organizationId: "", updatedAt: "" }
  });
})();

Readme

Keywords

none

Package Sidebar

Install

npm i @oculushealth/utils

Weekly Downloads

1

Version

0.1.5

License

ISC

Unpacked Size

6.57 kB

Total Files

8

Last publish

Collaborators

  • ozbey