
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
dynamodb-table-client
Advanced tools
A DocumentClient wrapper for single table design and better typescript support.
A DocumentClient wrapper for single table design and better typescript support.
For the most part, the API is the same as DocumentClient aside from having to provide the TableName for each request.
batchGet
and batchWrite
have a slightly different API because they don't need to be concerned with multiple tables.
npm install dynamodb-table-client
import { TableClient } from 'dynamodb-table-client';
// common attributes between all items
interface DynamoDBItem {
// this is where you would type your Key and GSI schemas
PK: string;
SK: string;
GSI1PK?: string;
GSI1SK?: string;
// but you could use it for common meta atts as well
created: string;
}
const tableClient = new TableClient<DynamoDBItem>({
tableName: `my-table`,
region: `us-east-1`,
});
interface Note extends DynamoDBItem {
title: string;
}
await tableClient.put<Note>({
Item: {
PK: 'NOTE#1',
SK: 'META',
created: new Date().toISOString(),
title: 'My Note',
},
});
const note = await tableClient.get<Note>({
Key: {
PK: 'NOTE#1',
SK: 'META',
},
});
FAQs
A DocumentClient wrapper for single table design and better typescript support.
The npm package dynamodb-table-client receives a total of 0 weekly downloads. As such, dynamodb-table-client popularity was classified as not popular.
We found that dynamodb-table-client 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.