JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q32233F
  • License ISC

AWS DynamoDB store and query functions simplified

Package Exports

  • simple-dynamo-utils
  • simple-dynamo-utils/src/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-dynamo-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

simple-dynamo-utils

This library includes simplified AWS DynamoDb functions.

[!CAUTION] This library is still a WIP Newer version can bring breaking changes

Install

Just install the module with npm

npm install simple-dynamo-utils

Examples

Please refer to the examples folder in the repository

Functions

  • Generate Parameters:
    • Put: with old item return in case of over write
    • Get: with projection (returned attributes)
    • Query: with support for:
      • filters
      • start key
      • index name
      • projection (returned attributes)
      • limit (amount of items to query)
    • Scan: with support for:
      • filters
      • start key
      • projection (returned attributes)
      • limit (amount of items to scan)
      • parallel scan properties
    • Update: with support for:
      • custom update expression over write
      • return items new or old, updated or all
    • Delete: with old item return