deep-db is the database module of the DEEP Framework, an enterprise-level cloud-native framework for building serverless applications on AWS. Version 1.12.25 is part of the deep-framework monorepo, which has seen active maintenance up to v1.12.46, with updates focused on AWS region support, bug fixes, and Node.js compatibility (v4.3+ to v6.x). It provides abstracted database operations over AWS DynamoDB, offering find, get, and partition management features. Uniquely, it is tightly integrated with the DEEP ecosystem, requiring the deepify CLI tool for deployment and local development. This library is not intended for standalone use outside the DEEP framework and is largely dependent on other DEEP modules and AWS services. Alternatives include direct use of AWS SDK DynamoDB client or other DynamoDB abstraction layers like Dynamoose or document client.
npm install deep-dbVerified import paths — ran on the pinned version, not inferred.
Instantiate a Database object and perform a simple find query on a DynamoDB table called 'Users'.
Consider migrating to AWS SDK v3 DocumentClient or Dynamoose for new projects.
Install deepify globally: npm install deepify -g. Then use deepify server for local testing.
Update to deep-framework >=1.12.31 and use Node.js >=6.x.
If you need multi-cloud support, consider using a different abstraction layer like Sails.js or LoopBack.
Ensure you use const { Database } = require('deep-db') and then instantiate with new Database(options).Check your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables, or pass them in the constructor options.
Run npm install deepify -g and ensure it is in your PATH.