on-load : On load/unload events for DOM elements using a MutationObserver. You can installing on-load npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install on-load $ sudo npm install -g on-load
If want to update the on-load package execute the command as below,
$ sudo npm update on-load
Update package globally,
$ npm install -g on-load
$ sudo git clone https://github.com/rektide/on-load.git
$ sudo npm install -g ./on-load
on-load@3.3.1 /usr/lib/node_modules/on-load
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall on-load
Package Name | on-load |
Version | 3.3.1 |
Description | On load/unload events for DOM elements using a MutationObserver |
Released Date | 2017-09-18T20:46:00.204Z |
Published by | toddself |
How to Learn | https://www.npmjs.com/package/on-load/tutorial |