@sailplane/state-storage
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

@sailplane/state-storage - Serverless state and configuration storage

What?

StateStorage is a simple wrapper for SSM getParameter and putParameter functions, abstracting it into a contextual storage of small JSON objects.

This is part of the sailplane library of utilities for AWS Serverless in Node.js.

Why?

The AWS Parameter Store (SSM) was originally designed as a place to store configuration. It turns out that it is also a pretty handy place for storing small bits of state information in between serverless executions.

Why use this instead of AWS SSM API directly?

  • Simple Promise or async syntax
  • Automatic object serialization/deserialization
  • Logging
  • Consistent naming convention

How?

See the doc site for usage and examples.

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @sailplane/state-storage

    Weekly Downloads

    95

    Version

    3.0.0

    License

    Apache-2.0

    Unpacked Size

    10.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • itprokyle
    • ttarhan
    • adamfanello