Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@env0/dynamo-easy

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@env0/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.

  • 5.2.5-add-getter-support
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
212
increased by12.77%
Maintainers
1
Weekly downloads
 
Created
Source

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 :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))

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 :heart: 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!

Keywords

FAQs

Package last updated on 20 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc