remove-element
Removes an element from the DOM. Very simple – but helps reduce a bit of boilerplate and might spare somebody some Googling if they forget.
Usage
remove(el)
Removes el
from the DOM, if it's attached.
License
MIT. See LICENSE.md for details.