# @humm-dev/shopify-app-session-storage-dynamodb

> Shopify App Session Storage for DynamoDB

Latest version **1.0.10** (published 2023-06-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @humm-dev/shopify-app-session-storage-dynamodb
pnpm add @humm-dev/shopify-app-session-storage-dynamodb
yarn add @humm-dev/shopify-app-session-storage-dynamodb
bun add @humm-dev/shopify-app-session-storage-dynamodb
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.10 |
| Published | 2023-06-19 |
| First published | 2023-06-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 14.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Shopify Inc. |
| Maintainers | humm-dev |
| Keywords | shopify, node, app, graphql, rest, webhook, Admin API, Storefront API, session storage, DynamoDB, AWS |

## Links

- npm: https://www.npmjs.com/package/@humm-dev/shopify-app-session-storage-dynamodb
- Repository: https://github.com/humm-dev/shopify-app-js
- Homepage: https://github.com/humm-dev/shopify-app-js/tree/main/packages/shopify-app-session-storage-dynamodb
- Issues: https://github.com/humm-dev/shopify-app-js.git/issues
- npm.io page: https://npm.io/package/@humm-dev/shopify-app-session-storage-dynamodb

## Dependencies (4)

- [tslib](https://npm.io/package/tslib.md) ^2.4.0
- [@aws-sdk/util-dynamodb](https://npm.io/package/@aws-sdk/util-dynamodb.md) ^3.332.0
- [@aws-sdk/client-dynamodb](https://npm.io/package/@aws-sdk/client-dynamodb.md) ^3.332.0
- [@shopify/shopify-app-session-storage](https://npm.io/package/@shopify/shopify-app-session-storage.md) ^1.1.4

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.10 (latest) — 2023-06-19
- 1.0.9 — 2023-06-19
- 1.0.8 — 2023-06-16
- 1.0.6 — 2023-06-16
- 1.0.5 — 2023-06-16
- 1.0.4 — 2023-06-16
- 1.0.3 — 2023-06-16

## README

# Session Storage Adapter for AWS DynamoDB

This package implements the `SessionStorage` interface that works with an AWS DynamoDB database.

Contributed by [Chris](https://github.com/zirkelc) - thank you :clap:

```js
import {shopifyApp} from '@shopify/shopify-app-express';
import {DynamoDBSessionStorage} from '@shopify/shopify-app-session-storage-dynamodb';

// You can use the default options
const storage = new DynamoDBSessionStorage();

// or, if you want to use a different session table name and shop index name
const storage = new DynamoDBSessionStorage({ sessionTableName: 'my-session-table', shopIndexName: 'my-shop-index' });

// or, if you want to use a different region or credentials
const storage = new DynamoDBSessionStorage({ config: { region: 'us-west-2', credentials: { ... } } });

const shopify = shopifyApp({
  sessionStorage: storage,
  // ...
});
```

If you prefer to use your own implementation of a session storage mechanism that uses the `SessionStorage` interface, see the [implementing session storage guide](../shopify-app-session-storage/implementing-session-storage.md).

---
_Source: https://npm.io/package/@humm-dev/shopify-app-session-storage-dynamodb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
