is there a DynamoDB client library for writing sim...
# help
e
is there a DynamoDB client library for writing simpler queries? i could abstract some of it away myself but wanst sure if there was a NPM package that already does this.
m
https://github.com/jeremydaly/dynamodb-toolbox - very nice, but maybe not well supported https://github.com/sensedeep/dynamodb-onetable - opinionated orm-ish https://github.com/sam-goodwin/typesafe-dynamodb - types only approach There are others, but those are the ones I've used
r
Onetable works well
s
It's been a while since I've used it, but I enjoyed working with dynamodb-toolbox
m
It's a very good lib, but doesn't look like it's getting many updates.
s
Jeremy responded šŸ™‚
m
I hope that's true. I've brought it up a couple of times over the past several months (including in person at reinvent) and no dice so far.
I definitely like that lib and would use it if it were maintained.
s
yeah, I enjoyed it's abstractions
m
Good level of abstraction and best practices built in.
e
i picked the dynamodb-toolbox
t
dynamodb-toolbox is missing typeinference which onetable has
d
šŸ¤ž I’m hoping electrodb is nice — the raw dynamodb libs are a bit clunky maybe types are the bomb .. .dynamodb-toolbox
m
I think https://github.com/sam-goodwin/typesafe-dynamodb is a really cool approach. I've used it in a small project and it really gave me what I wanted, although it's not supporting DocumentClient yet so you need to
{S: 'value'}
everything. I think DocumentClient support will make it a contender for anybody using TypeScript.