Gathering detailed insights and metrics for electrodb
Gathering detailed insights and metrics for electrodb
Gathering detailed insights and metrics for electrodb
Gathering detailed insights and metrics for electrodb
electrocli
Electro is a CLI utility toolbox for extending the functionality of the node library ElectroDB to the terminal.
electrodb-refactor-test
A library to more easily create and interact with multiple entities and heretical relationships in dynamodb
@ryands17/ddb-cache
A full serverless cache for DynamoDB that uses [ElectroDB](https://electrodb.dev/en/core-concepts/introduction/) under the hood for querying and TTL management.
electrodb-temp
A library to more easily create and interact with multiple entities and heretical relationships in dynamodb
A DynamoDB library to ease the use of modeling complex hierarchical relationships and implementing a Single Table Design while keeping your query code readable.
npm install electrodb
Typescript
Module System
Node Version
NPM Version
92
Supply Chain
39.1
Quality
89.4
Maintenance
100
Vulnerability
99.3
License
JavaScript (42.27%)
TypeScript (40.69%)
MDX (15.66%)
Astro (0.84%)
CSS (0.52%)
Shell (0.03%)
Total Downloads
21,755,957
Last Day
14,361
Last Week
349,092
Last Month
1,575,729
Last Year
18,053,069
MIT License
1,084 Stars
525 Commits
74 Forks
11 Watchers
179 Branches
33 Contributors
Updated on Jun 16, 2025
Minified
Minified + Gzipped
Latest Version
3.4.3
Package Id
electrodb@3.4.3
Unpacked Size
542.39 kB
Size
92.74 kB
File Count
27
NPM Version
10.8.2
Node Version
22.6.0
Published on
Jun 08, 2025
Cumulative downloads
Total Downloads
Last Day
-12.8%
14,361
Compared to previous day
Last Week
-10.2%
349,092
Compared to previous week
Last Month
6.7%
1,575,729
Compared to previous month
Last Year
412.3%
18,053,069
Compared to previous year
ElectroDB is a DynamoDB library to ease the use of having multiple entities and complex hierarchical relationships in a single DynamoDB table.
Please submit issues/feedback or reach out on Twitter @tinkertamper.
Visit the v3 migration page to learn more about this new update.
ElectroDB's new website for Documentation is now live at electrodb.dev.
Try out and share ElectroDB Models, Services, and Single Table Design at electrodb.fun
ExpressionAttributeNames
, ExpressionAttributeValues
, and FilterExpressions
.ExpressionAttributeNames
, ExpressionAttributeValues
, and ConditionExpressions
.ExpressionAttributeNames
, ExpressionAttributeValues
, and UpdateExpressions
..find()
or .match()
methods to dynamically and efficiently query based on defined sort key structures.Entities
, Services
, Models
directly from the command line.Entities
, Services
, Models
for easier prototyping.Turn this
1tasks 2 .patch({ 3 team: "core", 4 task: "45-662", 5 project: "backend", 6 }) 7 .set({ status: "open" }) 8 .add({ points: 5 }) 9 .append({ 10 comments: [ 11 { 12 user: "janet", 13 body: "This seems half-baked.", 14 }, 15 ], 16 }) 17 .where(({ status }, { eq }) => eq(status, "in-progress")) 18 .go();
Into This
1{ 2 "UpdateExpression": "SET #status = :status_u0, #points = #points + :points_u0, #comments = list_append(#comments, :comments_u0), #updatedAt = :updatedAt_u0, #gsi1sk = :gsi1sk_u0", 3 "ExpressionAttributeNames": { 4 "#status": "status", 5 "#points": "points", 6 "#comments": "comments", 7 "#updatedAt": "updatedAt", 8 "#gsi1sk": "gsi1sk" 9 }, 10 "ExpressionAttributeValues": { 11 ":status0": "in-progress", 12 ":status_u0": "open", 13 ":points_u0": 5, 14 ":comments_u0": [ 15 { 16 "user": "janet", 17 "body": "This seems half-baked." 18 } 19 ], 20 ":updatedAt_u0": 1630977029015, 21 ":gsi1sk_u0": "$assignments#tasks_1#status_open" 22 }, 23 "TableName": "your_table_name", 24 "Key": { 25 "pk": "$taskapp#team_core", 26 "sk": "$tasks_1#project_backend#task_45-662" 27 }, 28 "ConditionExpression": "attribute_exists(pk) AND attribute_exists(sk) AND #status = :status0" 29}
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
7 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 6
Reason
Found 13/30 approved changesets -- score normalized to 4
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
90 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-09
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More