evie
EventEmitter-style events with event-bubbling
Last updated 11 years ago by dyoder .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install evie 
SYNC missed versions from official npm registry.

Evie

Evie provides an EventEmtter-style interface, but provides support for event-bubbling, wild-card events, object-literal handler specs, and doesn't require a handler for an error event.

Evie = require "evie"

count = 0
parent = Evie.create()
parent.on bam: -> count++

child = Evie.create()
child.forward parent

child.emit "bam"
child.emit "*"

assert count == 2

Current Tags

  • 1.0.0-alpha-02                                ...           latest (11 years ago)

6 Versions

  • 1.0.0-alpha-02                                ...           11 years ago
  • 0.2.0                                ...           12 years ago
  • 0.1.3                                ...           12 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 4
Last Month 2
Dependencies (2)
Dev Dependencies (1)
  • amen ^1.0.0-alpha-06
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |