$ npm i -S storm-banner
Optional (see readme)
Only required if unconditionally rendering banners server-side, so the banner is hidden while the JS loads and is evaluated.
Sample minimum CSS required
Either import and initialise using a named import:
import Banner from 'storm-banner';
Banner.init('.js-banner');
Or async using storm-load.js, add the .standalone file to your project, then intiialise using the global name:
Load('/content/js/async/storm-banner.standalone.js').then(() => {
StormBanner.init('.js-banner');
});