dynamodb-stream-algolia

Update or Add dynamodb stream data directly to algolia

Usage no npm install needed!

<script type="module">
  import dynamodbStreamAlgolia from 'https://cdn.skypack.dev/dynamodb-stream-algolia';
</script>

README

dynamodb-stream-algolia

Dynamodb Streams => lambda [with dynamodb-stream-algolia] => algolia

Installation

npm install dynamodb-stream-algolia

Usage

import { pushStream } from "dynamodb-stream-algolia";

pushStream({
    event,
    index_name: INDEX_NAME,
    appId: ALGOLIA.ALGOLIA_APP_ID,
    adminKey: ALGOLIA.ALGOLIA_ADMIN_API_KEY,
    logs: true
  })

logs is optional, default its false

hook cloudwatch logs so while debugging you can check issues

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Author

praveenkumarKajla
praveenkumarKajla

Contributors

William Cadenas
William Cadenas

Inspired from

dynamodb-stream-elasticsearch