@scloud/utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

Utility functions

A collection of functions to help take care of boilerplate, mainly when working in Lambda.

Functions

  • parseJson A wrapper around JSON.parse that gracefully returns undefined if the input can't be parsed. This is useful for parsing things like HTTP/API request messages and SQS bodies without needing to add a try/catch every time.

DynamoDB

  • A set of common CRUD/list operations that help you focus on what you're trying to achieve by taking away a bunch of boilerplate work, e.g. getItem, putItem, deleteItem, findItems and equivalent functions that use an index.

Readme

Keywords

none

Package Sidebar

Install

npm i @scloud/utils

Weekly Downloads

0

Version

0.1.4

License

ISC

Unpacked Size

43.8 kB

Total Files

11

Last publish

Collaborators

  • davidcarboni