# Serverless DynamoDB Node Libraries

**URL:** <https://forum.serverless.com/t/serverless-dynamodb-node-libraries/12480>\
**Category:** Serverless Framework\
**Tags:** dynamodb\
**Created:** [September 5, 2020, 5:59pm UTC](https://forum.serverless.com/t/serverless-dynamodb-node-libraries/12480 "2020-09-05T17:59:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Troncoso](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Troncoso](https://forum.serverless.com/u/Troncoso)\
**Post date:** [September 5, 2020, 5:59pm UTC](https://forum.serverless.com/t/serverless-dynamodb-node-libraries/12480/1 "2020-09-05T17:59:41Z")

</div>

I’ve been reading all about how great DynamoDB is, especially with Serverless. I’ve also been looking into the single table design for NoSQL. It all looks really good and exactly what I need for my serverless project. However, I’m finding very little in mature libraries that work with DynamoDB. From what I can tell, dynamoose is the most popular, but it does not support a single table design. Amazon has their own mapper library, but it hasn’t seen an update in a year and a half.

I’m just curious what other people are using with Dynamo to manage their database interactions in their node projects?

---

<div class="post-metadata">

**Author:** ![bfieber](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/bfieber/32/653_2.png) [@bfieber](https://forum.serverless.com/u/bfieber)\
**Post date:** [September 10, 2020, 4:08pm UTC](https://forum.serverless.com/t/serverless-dynamodb-node-libraries/12480/2 "2020-09-10T16:08:18Z")

</div>

[aws-sdk](https://www.npmjs.com/package/aws-sdk)

```auto
const DynamoDB = require('aws-sdk/clients/dynamodb')
const ddb = new DynamoDB.DocumentClient()

module.exports.doStuff = async () => {
  const { Item } = await ddb.get({
    TableName: 'my-table',
    Key: { id: '12345' }
  }).promise()
  console.log(`My Item: ${JSON.stringify(Item, null, 2)}`)
}
```

---

<div class="post-metadata">

**Author:** ![dcabib](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/dcabib/32/4475_2.png) [@dcabib](https://forum.serverless.com/u/dcabib)\
**Post date:** [September 11, 2020, 12:25pm UTC](https://forum.serverless.com/t/serverless-dynamodb-node-libraries/12480/3 "2020-09-11T12:25:24Z")

</div>

I was also looking for any modeling tool for Amazon’s DynamoDB… I’ve found dynamoose that looks promissor but I am really disappointed…

If you find anything better, let me know…

---

<div class="post-metadata">

**Author:** ![SethThomas](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/seththomas/32/4134_2.png) [@SethThomas](https://forum.serverless.com/u/SethThomas)\
**Post date:** [September 11, 2020, 6:28pm UTC](https://forum.serverless.com/t/serverless-dynamodb-node-libraries/12480/4 "2020-09-11T18:28:00Z")

</div>

I’ve enjoyed working with [Amazons NoSQL Workbench](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/workbench.html). It’s a GUI application that I’ve found helpful for data modeling, query building, etc. Definitely work a look.
