This version is old school.
Please find jQuery plugins on npm.
jquery.multiclick
Bind to the `multiclick` event, a custom DOM-like event generated using jQuery's Special Events API. The `multiclick` event triggers when the user clicks within the bound element a configurable number of times.