Catalog npm
Back to packageRELEASE DETAILS

0.0.2

npm

3vent

Very light EventEmitter-like functionality

events
Published24 Dec 2017
Direct dependencies0
Transitive dependenciesNot calculated

README

Current package documentation

MinEvent

Very light EventEmitter-like functionality for Node.js

Provides an interface that is similar to an EventEmitter.

$ npm i --save 3vent

Example

const EventEmitter = require('3vent')

class Dude extends EventEmitter {
  constructor () {
    super()
  }

  test (name) {
    this.emit('msg', name)
  }
}

const bob = new Dude()
bob.on('msg', msg => console.log('message:', msg))

bob.test('sup') // logs "message: sup"

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 0

Native requirements
0 direct targetsNot calculated transitive count
No declared dependencies in this collected response

Declarations describe requirements; they are not a resolved dependency graph.

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-hwq40IwqVWzN2tKw+atq+RQ05OHwwBbepzKzOq1w+8sO2EEnBSsG/DnwSSvP5So69LRMGIpichvr/402IdG7rg==",
  "shasum": "3997cef430d4d857f9198c4d1a7c1f1db677cbed",
  "tarball": "https://registry.npmjs.org/3vent/-/3vent-0.0.2.tgz",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCYjQAoNJV+I37L6HTs4OmSLwP3GidRzJybb7m3IDI+rgIhAMJAqz/rrFK+sNqOTZHh9I01Av3N36vtV1CQwDN/FZ1y"
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:53 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:f95a764fb0af9ad26f391fd3986ff249a1bc801402dae359216ef61d5d0055c1

Other collected versions

View all collected versions →