# dynamodb-push

> npx package to push your JSON file to AWS DynamoDB

Latest version **1.0.3** (published 2024-04-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install dynamodb-push
pnpm add dynamodb-push
yarn add dynamodb-push
bun add dynamodb-push
```

Provides the command `dynamodb-push`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2024-04-08 |
| First published | 2024-04-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Thanapapas Horsuwan |
| Maintainers | datability |
| Keywords | dynamodb, aws, JSON, database, migration |

## Links

- npm: https://www.npmjs.com/package/dynamodb-push
- Repository: https://github.com/datability-th/dynamodb-push
- Homepage: https://github.com/datability-th/dynamodb-push#readme
- Issues: https://github.com/datability-th/dynamodb-push/issues
- npm.io page: https://npm.io/package/dynamodb-push

## Dependencies (3)

- [yargs](https://npm.io/package/yargs.md) ^17.7.2
- [@aws-sdk/lib-dynamodb](https://npm.io/package/@aws-sdk/lib-dynamodb.md) ^3.549.0
- [@aws-sdk/client-dynamodb](https://npm.io/package/@aws-sdk/client-dynamodb.md) ^3.549.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.3 (latest) — 2024-04-08
- 1.0.2 — 2024-04-08
- 1.0.1 — 2024-04-08
- 1.0.0 — 2024-04-08

## README

# dynamodb-push

`dynamodb-push` is an easy to use npx package to push your JSON file to AWS DynamoDB.

## How to Use

In an environment with AWS credentials (`aws configure`), just create your JSON file and push to your table with a single command!

```bash
npx dynamodb-push -i example.json -t YourTableName
```

Your JSON file should look something like this, each object for each DynamoDB Row:

```json
[
  {
    "PK": "PK|HASHKEY",
    "SK": "SK|RANGEKEY",
    "name": "Object 1",
    "description": "This is description for Object 1"
  },
  {
    "PK": "PK|HASHKEY",
    "SK": "SK|RANGEKEY",
    "name": "Object 2",
    "description": "This is description for Object 2"
  },
  ...
]
```

---
_Source: https://npm.io/package/dynamodb-push · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
