@tesseractcollective/serverless-toolbox
TypeScript icon, indicating that this package has built-in type declarations

0.7.0 • Public • Published

serverless-toolbox

Object stores

An object store is a simple interface to get, put, and delete json documents based on a unique id. This library includes object store implementations for DynamoDB and S3.

export default interface ObjectStore<T> {
  get(id: string): Promise<T | undefined>;
  put(id: string, item: T): Promise<T>;
  delete(id: string): Promise<void>;
  updateState(id: string, action: Action, reducer: Reducer<T>): Promise<T>;
}

API Gateway

This library provides sensible defaults for API Gateway using express. It also provides a websocket subscription service for API Gateway.

Auth

This library provides sensible defaults and helpers for hashing and verifying passwords and dealing with tokens.

Readme

Keywords

none

Package Sidebar

Install

npm i @tesseractcollective/serverless-toolbox

Weekly Downloads

1

Version

0.7.0

License

MIT

Unpacked Size

450 kB

Total Files

133

Last publish

Collaborators

  • samarthmn
  • joshuadutton
  • markbroadhead
  • jrobber