
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
dynamometer
Advanced tools
A library to easily work with DynamoDB with a single table design approach.
Enforces single table design on your DynamoDB queries in an elegant way.
A library to easily work with DynamoDB and enforces single table design approach.
Managing your data with a single design approach in DynamodDB can sometimes be difficult. Dynamometer uses so-called " Collections" and "Docs" to structure your data in an comprehensible way.
const db = Dynamometer.create({
tableName: "dataTable"
})
Dynamometer is intended for simple, low-complexity projects and is designed to allow an architect to immediately take a
single-table approach with a DynamoDB table without having to think much about access patterns.
db.collection('USERS')
.doc("xspvLRiJ")
.collection("TODOS")
.add({
text: "Makes managing your data a breeze."
})
# Features
npm install dynamometer
npm install dynamometer # npm
yarn add dynamometer # yarn
pnpm add dynamometer # pnpm
Create a instance of the dynamometer client.
import { Dynamometer } from 'dynamometer';
const db = Dynamometer.create({
tableName: "dataTable"
})
A collection holds a number of items.
const collection = db.collection("USERS")
With a collection, items can be added to it or all can be queried.
collection.add({
name: "John Doe"
})
const reponse = await collection.get()
If you know the ID of an item in the collection or you want to give it your own ID you can use the doc methode.
// get the doc
collection.doc("123").get()
// add the doc with the id 123
collection.doc("123").add({
name: "John Doe"
})
A document is an item of a collection. It offers CRUD methodes.
If you know the ID of an item in the collection or you want to give it your own ID you can use the doc methode.
const doc = db.collection("USERS").doc("123")
const repsonse = await doc.set({
name: "John Doe"
})
const data = await doc.get()
const response = await doc.update({
name: "John Doester"
})
const response = await doc.delete()
FAQs
A library to easily work with DynamoDB with a single table design approach.
The npm package dynamometer receives a total of 12 weekly downloads. As such, dynamometer popularity was classified as not popular.
We found that dynamometer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.