Narwhal Parade Maestro

    lighter-flagger

    1.2.1 • Public • Published

    lighter-flagger

    Chat Version Downloads Build Coverage Style

    The lighter-flagger module is a lightweight event emitter with flags which allow listeners to fire in the present or in the future, depending on whether a flag is already set to a specified value or not.

    Installation

    From your project directory, install and save as a dependency:

    npm install --save lighter-flagger

    API

    The lighter-flagger module exports a constructor that extends the Emitter constructor from lighter-emitter which extends lighter-type. When a Type (such as Flagger) is uppercased in documentation, it refers to the constructor or its constructor properties. And when a type is lowercased (such as flagger), it refers to an instance and its prototype properties.

    Flagger.prototype.at Flagger.prototype.get Flagger.prototype.ready Flagger.prototype.set Flagger.prototype.then Flagger.prototype.unwait Flagger.prototype.waitFor Flagger.prototype.wait Flagger.prototype.when

    More on lighter-flagger...

    Install

    npm i lighter-flagger

    DownloadsWeekly Downloads

    4

    Version

    1.2.1

    License

    MIT

    Last publish

    Collaborators

    • zerious