npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gravityai-dev/aws-dynamodb

v1.1.0

Published

AWS DynamoDB integration for Gravity workflow system - includes put, fetch, and service operations

Readme

@gravityai-dev/aws-dynamodb

AWS DynamoDB integration plugin for the Gravity workflow system. Provides nodes for database operations including put, fetch, and service operations.

Features

  • DynamoDB: Put records to DynamoDB tables with conditional expressions
  • DynamoDBFetch: Fetch records by primary/sort key with null handling
  • DynamoDBService: Service node providing NoSQL operations for other nodes
  • Full AWS SDK v3 integration with document client
  • Client caching for performance optimization
  • Comprehensive error handling and logging

Installation

npm install @gravityai-dev/aws-dynamodb

Nodes

DynamoDB

Uploads a record to an AWS DynamoDB table with optional conditional expressions.

Inputs:

  • signal: Record data to upload (can override config record)

Outputs:

  • success: Whether the upload was successful
  • itemId: ID of the uploaded item (if available)

Configuration:

  • tableName: Name of the DynamoDB table
  • record: JS Code to transform data
  • conditionExpression: Optional condition for the put operation
  • expressionAttributeNames: Substitution tokens for attribute names
  • expressionAttributeValues: Values for expression substitution

DynamoDBFetch

Fetches a record from AWS DynamoDB table by key, returns null if not found.

Inputs:

  • signal: Input object containing key values

Outputs:

  • output: The fetched record or null if not found
  • found: Whether the record was found

Configuration:

  • tableName: The name of the DynamoDB table
  • primaryKey: The field name for the primary key (partition key)
  • sortKey: The field name for the sort key (optional)

DynamoDBService

Provides DynamoDB operations as a service for other nodes. Marked as a service node.

Service Connectors:

  • nosqlService: Provides NoSQL database operations
  • Methods: put, get, query, update, delete, batchGet, batchWrite

Configuration:

  • region: AWS region for DynamoDB
  • defaultTable: Default table name (can be overridden per operation)

Credentials

Requires AWS credentials with the following fields:

  • accessKeyId: Your AWS access key ID
  • secretAccessKey: Your AWS secret access key
  • region: AWS region (e.g., us-east-1)

Usage Example

  1. Add DynamoDB node to put records to a table
  2. Use DynamoDBFetch to retrieve records by key
  3. Connect DynamoDBService for advanced operations
  4. Configure conditional expressions for data integrity

Development

# Install dependencies
npm install

# Build the package
npm run build

# Run tests
npm test

License

MIT