A library for attaching events to nodes