New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

thincloud-db

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

thincloud-db

Thincloud Database

unpublished
latest
npmnpm
Version
1.0.0
Version published
Maintainers
0
Created
Source

Setup

import { DynamoDBClient } from '@aws-sdk/client-dynamodb';
import { DynamoDBDocumentClient } from '@aws-sdk/lib-dynamodb';

import Database from '@yonomi/thincloud-db';

Database.setup(() => {
  const client = new DynamoDBClient(options);

  return DynamoDBDocumentClient.from(client);
});

Usage

import { DeviceTable } from '@yonomi/thincloud-db';

const device = await DeviceTable.get(deviceId);

Remaining Work for Dynamoose Parity

  • Timestamps
  • Update
  • Defaults
  • Indexes
  • Attributes (only=['foo', 'bar'])

FAQs

Package last updated on 16 Dec 2024

Related posts