1.0.0 • Published 6 years ago

harlemshakify v1.0.0

Weekly downloads
8
License
SEE LICENSE IN LI...
Repository
github
Last release
6 years ago

That classic little script from 2013 to make any website do the 'Harlem Shake'.

version downloads WTFPL License

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.

WTFPL