# hubot-dynamodb-brain

> A hubot brain built on DynamoDB

Latest version **0.1.2** (published 2017-04-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install hubot-dynamodb-brain
pnpm add hubot-dynamodb-brain
yarn add hubot-dynamodb-brain
bun add hubot-dynamodb-brain
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2017-04-06 |
| First published | 2016-12-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Nitehawk |
| Maintainers | nitehawk |
| Keywords | hubot, hubot-scripts, dynamodb, hubot-brain |

## Links

- npm: https://www.npmjs.com/package/hubot-dynamodb-brain
- Repository: https://github.com/nitespacedev/hubot-dynamodb-brain
- Homepage: https://github.com/nitespacedev/hubot-dynamodb-brain#readme
- Issues: https://github.com/nitespacedev/hubot-dynamodb-brain/issues
- npm.io page: https://npm.io/package/hubot-dynamodb-brain

## Dependencies (1)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.7.13

## Recent versions

- 0.1.2 (latest) — 2017-04-06
- 0.1.1 — 2016-12-13
- 0.1.0 — 2016-12-13

## README

# hubot-dynamodb-brain

A hubot brain built on DynamoDB

See [`src/dynamodb-brain.coffee`](src/dynamodb-brain.coffee) for full documentation.

## Installation

In hubot project repo, run:

`npm install hubot-dynamodb-brain --save`

Then add **hubot-dynamodb-brain** to your `external-scripts.json`:

```json
[
  "hubot-dynamodb-brain"
]
```

## Defaults:

This brain is written with the assumption that the hubot instance is running on an AWS instance, with an instance role that allows access to the 'hubotbrain' table in the us-east-2 region.   Environment variables are available to override.

The following CloudFormation YAML will create a suitable table in DynamoDB:
```yaml
HubotBrainDynamo:
    Type: "AWS::DynamoDB::Table"
    Properties:
      TableName: hubotbrain
      AttributeDefinitions:
        - AttributeName: "botname"
          AttributeType: "S"
      KeySchema:
        - AttributeName: "botname"
          KeyType: "HASH"
      ProvisionedThroughput:
        ReadCapacityUnits: 1
        WriteCapacityUnits: 1
```

## Sample Interaction
```
user1>> hubot brainscan
hubot>> My brain is doing great!
```

## NPM Module

https://www.npmjs.com/package/hubot-dynamodb-brain

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