New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dynamomo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamomo - npm Package Compare versions

Comparing version 0.1.0-beta.0 to 0.1.0-beta.1

2

package.json
{
"name": "dynamomo",
"version": "0.1.0-beta.0",
"version": "0.1.0-beta.1",
"description": "Dynamodb query helper",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -31,3 +31,3 @@ # Dynamomo

// import
import table from 'dynamomo'
import dynamomo from 'dynamomo'
```

@@ -52,4 +52,2 @@

# create(tableName, { primaryKey, indexName }) #

@@ -87,3 +85,3 @@ ---

// Uses the primary key Id by default
dynamomo('items').getById(1)
items.getById(1)
```

@@ -97,3 +95,3 @@

```javascript
dynamomo('items').getAll() // alias for scan
items.getAll() // alias for scan
```

@@ -111,3 +109,3 @@

```javascript
dynamomo('items').getAllById([1, 2, 3, 4])
items.getAllById([1, 2, 3, 4])
```

@@ -126,3 +124,3 @@

dynamomo('items').updateById(id, updateKeys, addParams)
items.updateById(id, updateKeys, addParams)
```

@@ -136,3 +134,3 @@

```javascript
dynamomo('items').query(params)
items.query(params)
```

@@ -146,3 +144,3 @@

```javascript
dynamomo('items').update(dynamoUpdateParams)
items.update(dynamoUpdateParams)
```

@@ -155,3 +153,3 @@

```javascript
dynamomo('items').scan(params)
items.scan(params)
```

@@ -165,3 +163,3 @@

```javascript
dynamomo('items').deleteById(1)
items.deleteById(1)
```

@@ -178,3 +176,3 @@

```js
const items = await dynamomo('items').getAll({
const itemList = await items.getAll({
MaxLimit: 300,

@@ -194,3 +192,3 @@ ProjectionExpression: 'ItemName, Category'

```js
const items = await dynamomo('items').queryByKeys({
const itemList = await items.queryByKeys({
CategoryId: '2'

@@ -197,0 +195,0 @@ }, {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc