Notoriously Psychedelic Modules

    @blhylton/flash-messages

    1.0.1 • Public • Published

    Flash Messages

    A simple library for managing flash messages in your Javascript application.

    Background

    This library is based on the concept of a flash message from the server-side world, repurposed for use exclusively in front end applications.

    ...meant to be used exactly once: [flash messages] vanish from the session automatically as soon as you retrieve them. This feature makes "flash" messages particularly great for storing user notifications.

    -- Symfony Documentation(https://symfony.com/doc/current/controller.html#flash-messages)

    Obviously, there's no session on the frontend in this context, but the idea remains the same: Create a message with short-lived permanence.

    Get Started

    TODO

    Usage

    TODO

    Keywords

    none

    Install

    npm i @blhylton/flash-messages

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    3.67 kB

    Total Files

    3

    Last publish

    Collaborators

    • blhylton