프로젝트
GitHub에서 보기
shiftcode/dynamo-easy
소개
DynamoDB client for NodeJS and browser with a fluent api to build requests. We take care of the type mapping between JS and DynamoDB, customizable trough typescript decorators.
데이터 및 분석측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDynamo-Easy
A DynamoDB client which provides an easy to use fluent api to execute requests. It supports TypeScript decorators to define the necessary metadata for your models. You don't need to care about the mapping of JavaScript types to their DynamoDB types any more. We've got you covered.
Built with :heart: by shiftcode.
Show me some code
import { Model, PartitionKey, DynamoStore } from '@shiftcoders/dynamo-easy'
@Model()
export class Person {
@PartitionKey()
id: string
name: string
yearOfBirth: number
}
const personStore = new DynamoStore(Person)
personStore
.scan()
.whereAttribute('yearOfBirth').equals(1958)
.exec()
.then(res => console.log('ALL items with yearOfBirth == 1958', res))
Resources
- 🤓 Learn more visiting the docs
- 📖 Checkout the technical API documentation api docs
- 🚀 Check the running sample on StackBlitz
Credits
- typescript-library-starter - Starter project which helps creating a TypeScript library project
- vogels - To get an idea on how to build the fluent api
- typestore - Inspiration on how to implement the model decorators
Contributors
Made with :heart: by @michaelwittwer and all these wonderful contributors (emoji key):
Michael Wittwer 🤔 💻 ⚠️ 📖 | Simon Mumenthaler 🤔 💻 ⚠️ 📖 | Michael Lieberherr 💻 📖 ⚠️ |
This project follows the all-contributors specification. Contributions of any kind welcome!
관련 프로젝트 살펴보기
불러오는 중…