dom-once
.once
for DOM Events
Usage
var once =
API
once(target, type, listener [, useCapture])
Works like target.addEventListener(type, listener, useCapture)
/ target.removeEventListener(type, listener)
just all automagically. No fluf, no fuss, plain and simple
Install
npm install dom-once