Narcissistic Piano Mover

    @env0/dynamo-easy
    TypeScript icon, indicating that this package has built-in type declarations

    5.2.5-add-getter-support • Public • Published

    Dynamo-Easy

    Travis semantic-release latest-release Coverage Status styled with prettier All Contributors

    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 dynamo types any more. We got you covered.

    Built with ❤️ 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))

    Ressources

    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 ❤️ by @michaelwittwer and all these wonderful contributors (emoji key):

    Michael Wittwer
    Michael Wittwer

    🤔 💻 ⚠️ 📖
    Simon Mumenthaler
    Simon Mumenthaler

    🤔 💻 ⚠️ 📖
    Michael Lieberherr
    Michael Lieberherr

    💻 📖 ⚠️

    This project follows the all-contributors specification. Contributions of any kind welcome!

    Install

    npm i @env0/dynamo-easy

    DownloadsWeekly Downloads

    3

    Version

    5.2.5-add-getter-support

    License

    MIT

    Unpacked Size

    1.13 MB

    Total Files

    1186

    Last publish

    Collaborators

    • liron-env0
    • botenv0
    • eranelbaz
    • away168
    • razbensimon
    • roni-frantchi
    • omryhay
    • arelenv0
    • yaron-env0
    • avnerenv0
    • yossi-kerner
    • heverfarber.env0