{"repo":"balmbees/dynamo-types","free":true,"listed":false,"github":"https://github.com/balmbees/dynamo-types","clone":"git clone https://github.com/balmbees/dynamo-types.git","description":"Typescript AWS DynamoDB ORM","language":"TypeScript","stars":227,"topics":["dynamodb","typescript","orm","javascript","aws-dynamodb","serverless"],"license":null,"category":"databases-storage","readme_excerpt":"DynamoTypes Typescript ORM of DynamoDB, written from scratch to fully support DynamoDB. Powering Vingle Features 1. Serialize / Deserialize DynamoDB record - TS class object based on annotations. 2. Table Configurations - CreateTable - Create secondary indexes (Both local / global) - Configure TTL - DropTable 3. PrimaryKey - FullPrimaryKey (Hash, Range) - HashPrimaryKey (Hash) 4. Indexes - Local, both hash and range key - Global, both hash and range key 5. Attribute - Type Support (Number / String / Boolean / Array / Object / Buffer) - TimeToLive 6. DAX Support - You can specify this by setting the connection of table. 7. Optimized aws-sdk usage - aws-sdk has a serious problem of not reusing HTTP connection towards DynamoDB by default. check this issue - this could cause unbearable latency sometimes with showing 100ms. it's more of an issue of NodeJS HTTP module but nevertheless, it has been optimized here by keep-alive Code 8. AWS X-Ray support - XRay is serverless distributed tracing service. In order to log DynamoDB transaction into it, you also need to some sort of risk monkey-patching. Here you can turn it on by setting process.env.ENABLE XRAY = \"true\" 9. Testing - You can change the endpoint of DynamoDB by setting the environment variable or setting new connection, So you can install local-dynamo locally at setup endpoint to local. refer package.json for the detailed how-to Also, dynamo-types let you overcome several limits that DynamoDB or the aws-sdk has. 1. BatchWrit","default_branch":null,"files":null,"tree":[],"storefront":"/r/balmbees","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/balmbees/dynamo-types/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}