# level-dynamodb

> level-dynamodb ==============

Latest version **0.0.1** (published 2014-06-18) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2014-06-18 |
| First published | 2014-06-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | dguttman |

## Links

- npm: https://www.npmjs.com/package/level-dynamodb
- Repository: https://github.com/davidguttman/level-dynamodb
- Issues: https://github.com/davidguttman/level-dynamodb/issues
- npm.io page: https://npm.io/package/level-dynamodb

## Dependencies (2)

- [dynamodown](https://npm.io/package/dynamodown.md) 0.0.1
- [level-packager](https://npm.io/package/level-packager.md) ^0.18.0

## Recent versions

- 0.0.1 (latest) — 2014-06-18

## README

level-dynamodb
==============

A convenience package bundling **[LevelUP](https://github.com/rvagg/node-levelup)** and **[DyamoDOWN](https://github.com/davidguttman/dynamodown)**

This is a convenience package that bundles the current release of LevelUP and DynamoDOWN and exposes LevelUP on its export.

Use this package to avoid having to explicitly install DynamoDOWN when you want to use DynamoDOWN with LevelUP.

```js

var level = require('level-dynamodb')

// 1) Create our database, supply location and options.
//    This will create or open the underlying LevelDB store.
var db = level('some-table-name', {
  // level options
  valueEncoding: 'json',
  // required DynamoDB options
  dynamo: {
    region: 'us-east-1',
    secretAccessKey: 'abc',
    accessKeyId: '123',
    // optional desired throughput (first run/create only)
    ProvisionedThroughput: {
      ReadCapacityUnits: 1,
      WriteCapacityUnits: 1
    }
  }
})

// 2) put a key & value
db.put('name', 'Level', function (err) {
  if (err) return console.log('Ooops!', err) // some kind of I/O error

  // 3) fetch by key
  db.get('name', function (err, value) {
    if (err) return console.log('Ooops!', err) // likely the key was not found

    // ta da!
    console.log('name=' + value)
  })
})

```

See **[LevelUP](https://github.com/rvagg/node-levelup)** and **[DyamoDOWN](https://github.com/davidguttman/dynamodown)** for more details.

## License

MIT

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