# @proak/dynogels

> Promise wrapper for dynogels package

Latest version **1.0.6** (published 2019-12-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install @proak/dynogels
pnpm add @proak/dynogels
yarn add @proak/dynogels
bun add @proak/dynogels
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2019-12-05 |
| First published | 2018-11-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Samuel Amoah |
| Maintainers | emasters |
| Keywords | dynogels-promisified, dynogels, dynamodb, wrappers |

## Links

- npm: https://www.npmjs.com/package/@proak/dynogels
- Repository: https://github.com/mataide/proak-common
- Homepage: https://github.com/mataide/proak-common#readme
- Issues: https://github.com/mataide/proak-common/issues
- npm.io page: https://npm.io/package/@proak/dynogels

## Dependencies (2)

- [bluebird](https://npm.io/package/bluebird.md) ^3.5.3
- [dynogels](https://npm.io/package/dynogels.md) https://github.com/mataide/dynogels/tarball/master

## Recent versions

- 1.0.6 (latest) — 2019-12-05
- 1.0.5 — 2019-12-05
- 1.0.4 — 2019-12-05
- 1.0.3 — 2019-12-05
- 1.0.2 — 2019-12-05
- 1.0.1 — 2018-11-20

## README

# @proak/dynogels

This code is inspired by [dynogels-promisified](https://github.com/andrewoh531/dynogels-promisified)


## Installation

```sh
$ npm install @proak/dynogels
```


## Usage

All methods avaiable in [dynogels](https://github.com/clarkie/dynogels) have been promisified and accessed by appending `Async` to the method

```javascript
const dynogels = require('@proak/dynogels')

const User = dynogels.define('User', {
  timestamps: true,
  hashKey: 'userId',
  schema: {
    name: joi.string(),
    userId: dynogels.types.uuid(),

  }
})

const specificUser = await User
  .scan()
  .where('userId').equals('4549b30d-4a4a-4230-82d4-3286c9348d24')
  .execAsync()
//=> User Model
```

---
_Source: https://npm.io/package/@proak/dynogels · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
