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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.1
    10
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.1
    10
  • 1.1.0
    0
  • 1.0.0
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i lighter-flagger

Weekly Downloads

10

Version

1.2.1

License

MIT

Last publish

Collaborators

  • zerious