# @tesseractcollective/serverless-toolbox

> Reusable building blocks for AWS Lambda, API Gateway, DynamoDB and S3

Latest version **0.7.0** (published 2022-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @tesseractcollective/serverless-toolbox
pnpm add @tesseractcollective/serverless-toolbox
yarn add @tesseractcollective/serverless-toolbox
bun add @tesseractcollective/serverless-toolbox
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0 |
| Published | 2022-11-17 |
| First published | 2020-10-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 439.5 KB |
| Known vulnerabilities | 0 (+4 in 2 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Tesseract Collective |
| Maintainers | samarthmn, joshuadutton, markbroadhead, jrobber |

## Links

- npm: https://www.npmjs.com/package/@tesseractcollective/serverless-toolbox
- Repository: https://github.com/tesseractcollective/serverless-toolbox
- Homepage: https://github.com/tesseractcollective/serverless-toolbox#readme
- Issues: https://github.com/tesseractcollective/serverless-toolbox/issues
- npm.io page: https://npm.io/package/@tesseractcollective/serverless-toolbox

## Dependencies (7)

- [uuid](https://npm.io/package/uuid.md) ^8.3.1
- [nanoid](https://npm.io/package/nanoid.md) ^3.1.20
- [express](https://npm.io/package/express.md) ^4.17.1
- [bcryptjs](https://npm.io/package/bcryptjs.md) ^2.4.3
- [aws-lambda](https://npm.io/package/aws-lambda.md) ^1.0.7
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^8.5.1
- [@vendia/serverless-express](https://npm.io/package/@vendia/serverless-express.md) ^4.5.2

## Recent versions

- 0.7.0 (latest) — 2022-11-17
- 0.6.1-alpha.2 — 2022-11-10
- 0.6.1-alpha — 2022-11-10
- 0.7.0-alpha — 2022-05-01
- 0.6.0 — 2021-12-16
- 0.5.1 — 2021-02-01
- 0.5.0 — 2021-02-01
- 0.4.1 — 2020-12-06
- 0.4.0 — 2020-12-06
- 0.3.4 — 2020-10-18
- 0.3.3 — 2020-10-16
- 0.3.2 — 2020-10-16
- 0.3.1 — 2020-10-16
- 0.3.0 — 2020-10-16
- 0.2.2 — 2020-10-16

## README

# 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.

```TypeScript
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.

---
_Source: https://npm.io/package/@tesseractcollective/serverless-toolbox · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
