Nine Pomeranian Monsters

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

    2.0.1 • 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.

    Install

    npm i @sailplane/state-storage

    DownloadsWeekly Downloads

    31

    Version

    2.0.1

    License

    Apache-2.0

    Unpacked Size

    10.2 kB

    Total Files

    8

    Last publish

    Collaborators

    • itprokyle
    • ttarhan
    • adamfanello