on-off

DOM Event Binding Library

npm install on-off
17 downloads in the last week
119 downloads in the last month

on-off

DOM Event Binding Library

Install

$ npm install on-off

Usage

on = require('on-off')
off = on.off

on(document.body, hello)

later off(document.body, hello)

function hello () {
  console.log('hello!')
}
npm loves you