Skip to content

brahimmouhamou/vitest-dynalite

 
 

Repository files navigation

vitest-dynalite

npm package Build Status Downloads Issues Code Coverage Commitizen Friendly Semantic Release

My awesome module

Install

npm install vitest-dynalite

Usage

import { setupDynamoDB } from 'vitest-dynalite';

setupDynamoDB([
  {
    KeySchema: [
      {
        AttributeName: 'pk',
        KeyType: 'HASH', // Partition key
      },
      {
        AttributeName: 'sk',
        KeyType: 'RANGE', // Sort key
      },
    ],
    AttributeDefinitions: [
      {
        AttributeName: 'pk',
        AttributeType: 'S',
      },
      {
        AttributeName: 'sk',
        AttributeType: 'S',
      },
    ],
    BillingMode: 'PAY_PER_REQUEST',
    TableName: 'testTable',
  },
]);

API

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.1%
  • Shell 3.9%