That classic little script from 2013 to make any website do the 'Harlem Shake'.
Based on the awesome harlem_shaker by Moovweb.
While I need this for some of my fun esoteric showcases, no one npm-ify this yet. So yeah 😅
$ yarn add harlemshakify
UMD (browser):
<script src="PATH/TO/harlemshakify.umd.js"></script>
<script>$('.btn').on('click', window.harlemshakify)</script>
ESM:
import harlemshakify from 'harlemshakify';
harlemshakify();
CJS (Node):
const harlemshakify = require('harlemshakify');
harlemshakify();
https://jsfiddle.net/glenn/4v87dff1
Glenn Dwiyatcita (@dwiyatci)
WTFPL – Do What the Fuck You Want to Public License.
See LICENSE.txt.