npm install --save background-cycle
es6 module imports
import cycleBackground from 'background-cycle'
cycleBackground takes two parameters a selector and an amount of images
You may specify as much images as you wantcycleBackground('.container', '/image1.png', '/image2.png', '/image3.png')