All Projects → andrewoh531 → Dynogels Promisified

andrewoh531 / Dynogels Promisified

Licence: other
Promisifies methods exposed by dynogels (Dynamo DB mapper)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Dynogels Promisified

Serverless Appsync Plugin
serverless plugin for appsync
Stars: ✭ 804 (+2133.33%)
Mutual labels:  dynamodb
Sherlock Holmes Partying In The Jungle
Parses AWS events payloads into a plain JavaScript object
Stars: ✭ 12 (-66.67%)
Mutual labels:  dynamodb
Modern Async
A modern JavaScript tooling library for asynchronous operations using async/await and promises
Stars: ✭ 31 (-13.89%)
Mutual labels:  promises
Minapp
重新定义微信小程序的开发
Stars: ✭ 902 (+2405.56%)
Mutual labels:  promises
Backboard
A Promise-based wrapper around IndexedDB with sane error and transaction handling
Stars: ✭ 11 (-69.44%)
Mutual labels:  promises
Workshop Donkeytracker
Workshop to build a serverless tracking application for your mobile device with an AWS backend
Stars: ✭ 27 (-25%)
Mutual labels:  dynamodb
Dynamo
expressive DynamoDB library for Go
Stars: ✭ 758 (+2005.56%)
Mutual labels:  dynamodb
Dynamodb Lock Client
A general purpose distributed locking library built for AWS DynamoDB.
Stars: ✭ 33 (-8.33%)
Mutual labels:  dynamodb
Eskimo Stripper
Strips DynamoDB Stream Items of its schema and returns a plain JavaScript object
Stars: ✭ 12 (-66.67%)
Mutual labels:  dynamodb
Graphql Serverless
Sample project to guide the use of GraphQL and Serverless Architecture.
Stars: ✭ 28 (-22.22%)
Mutual labels:  dynamodb
Serverless Dynalite
Serverless plugin to run Dynalite locally (No JVM needed!) to handle DynamoDB development. Can watch for table config changes.
Stars: ✭ 19 (-47.22%)
Mutual labels:  dynamodb
D4s
Dynamo DB Database Done Scala-way
Stars: ✭ 27 (-25%)
Mutual labels:  dynamodb
Tbls
tbls is a CI-Friendly tool for document a database, written in Go.
Stars: ✭ 940 (+2511.11%)
Mutual labels:  dynamodb
Declarativ
A declarative HTML rendering library that is definitely not JSX.
Stars: ✭ 16 (-55.56%)
Mutual labels:  promises
Promise.hpp
C++ asynchronous promises like a Promises/A+
Stars: ✭ 31 (-13.89%)
Mutual labels:  promises
Dynamodb Admin
GUI for DynamoDB Local or dynalite
Stars: ✭ 803 (+2130.56%)
Mutual labels:  dynamodb
Asynchronous
Implementation-agnostic asynchronous code
Stars: ✭ 13 (-63.89%)
Mutual labels:  promises
Bluebird Api
Bluebird compatible API on top of native promises.
Stars: ✭ 36 (+0%)
Mutual labels:  promises
Tempest
Typesafe DynamoDB for Kotlin and Java.
Stars: ✭ 32 (-11.11%)
Mutual labels:  dynamodb
Ecommerce
A powerful and lightweight eCommerce platform using ReactJs, Graphql, PHP, and Mysql.
Stars: ✭ 28 (-22.22%)
Mutual labels:  promises

dynogels-promisified

I take no credit for this code. It is inspired by vogels-promisified but modified to use Dynogels.

This package promisifies the functions in Dynogels using Bluebird using the default 'Async' suffix. i.e. all methods in Dynogels are modified with an 'Async' suffix.

Usage

var dynogels = require("dynogels-promisified");

Example

var User = module.exports = dynogels.define("User", {
  hashKey : "userId",
  timestamps : false,
  schema : {
    userId: dynogels.types.uuid(),
    name: Joi.string(),
  },
});

User
  .getAsync(userId)
  .then(function(user){
    // ...
  })
  .catch(function(err){
    // ...
  });

User
  .scan()
  .where("userId").equals(userId)
  .execAsync()
  .then(function(user){
    // ...
  })
  .catch(function(err){
    // ...
  });
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].