
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
aws-client
Advanced tools
Minimalist Node.js client for AWS services
Currently Supports:
npm install aws-client
If you are using any v1 functions (i.e. function name does not end in v2), then you must also install aws-sdk:
npm install aws-sdk
aws-client v2 functions do not require any additional imports as this package imports the required modular packages (new AWS SDK v3 feature). Eventually all v1 packages will migrate to aws-client v2
You can import one or many clients depending on what you need:
ES6 Import:
import { DynamoClient, SNSClient } from 'aws-client'
CommonJS:
const { DynamoClient, SNSClient } = require('aws-client')
const client = new DynamoClient({
region: 'eu-west-1',
tableName: 'users-prod'
})
const getUser = async (id) => {
const data = await client.get({ id })
console.log(data)
}
getUser('fred')
If there is a DynamoDB table called users-prod in your AWS account containing an item with the primary key (id) of 'fred', the above code will print it to the console.
FAQs
Minimalist Node.js client for AWS services
We found that aws-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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.