Neverending Plethora of Modules

    harlem-shake

    1.0.3 • Public • Published

    Harlem Shake

    Build Status version license: MIT downloads

    Installation

    npm install harlem-shake
    

    Usage

    const HarlemShake = require("harlem-shake");
     
    const  url = require("harlem-shake/assets/harlem-shake.mp3");
    new  HarlemShake({
        singleDancer: "#main",
        allDancer = ["p", "img", "a", "label"]
    }, url).start();

    If you are using webpack, add the following lines to your webpack config :

    module: {
        rules: [
            {
                test: /\.mp3$/,
                loader: 'file-loader'
            }
        ]
    }

    Install

    npm i harlem-shake

    DownloadsWeekly Downloads

    1

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    544 kB

    Total Files

    9

    Last publish

    Collaborators

    • alex-chopard