dynamoose1.7.3 • Public • Published
Dynamoose is a modeling tool for Amazon's DynamoDB (inspired by Mongoose)
$ npm i dynamoose
Set AWS configurations in environment variables:
export AWS_ACCESS_KEY_ID="Your AWS Access Key ID"export AWS_SECRET_ACCESS_KEY="Your AWS Secret Access Key"export AWS_REGION="us-east-1"
Here's a simple example:
const dynamoose = ;// Create cat model with default optionsconst Cat = dynamoose;// Create a new cat objectconst garfield =id: 666name: 'Garfield';// Save to DynamoDBgarfield; // Returns a promise that resolves when save has completed// Lookup in DynamoDBCat;
The Dynamoose Changelog can be found in the CHANGELOG.md file.
The Dynamoose Roadmap can be found in the ROADMAP.md file. Help is always appreciated on these items. If you are able to help submit a PR so we can review and improve Dynamoose!
To contirubute to this project please checkout our CONTRIBUTING.md file.