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