@soluzioni-futura/sqs-component
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

sqs-component

Quick start

Install the package

$ npm i @soluzioni-futura/sqs-component

Usage

import SqsComponent, { SqsConsumerFactoryComponent } from "@soluzioni-futura/sqs-component"

const { NODE_ENV, SQS_REGION, SQS_LOCAL_ENDPOINT } = process.env

const sqsComponent = new SqsComponent({
    env: NODE_ENV!,
    region: SQS_REGION!,
    localEndpoint: SQS_LOCAL_ENDPOINT!
})

const sqsConsumerFactoryComponent = new SqsConsumerComponent({
    sqsComponent,
    env: NODE_ENV!
})

Readme

Keywords

none

Package Sidebar

Install

npm i @soluzioni-futura/sqs-component

Weekly Downloads

0

Version

1.0.10

License

ISC

Unpacked Size

10.7 kB

Total Files

9

Last publish

Collaborators

  • riccardorispoli
  • giovanni.bruno
  • nico.fuccella
  • vforvalerio87
  • zhoujian26
  • allemonta