npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

bombloader.js-master

v1.0.2

Published

A simple jQuery interstitial loading screen

Readme

bombLoader.js

Simple customizable interstitial jQuery loading screen with GIF animation

This plugin will allow you to add a very simple jQuery insterstitial loading screen while the DOM element fully loads the content of your page/application.

Begin using bombLoader.js

  1. Download the .zip file of the plugin and extract the contents to your applications public folder.
  2. Place bombLoader.min.css and bombLoader.min.js in the proper directories.
  3. The bombLoader directory will need to be place in the same directory as bombLoader.min.css. It depends on the contents to deliver the proper GIF animation for loading.
  4. Setup your empty div container <div class="myDiv"></div>
  5. Initialize bombLoadder.js and watch it go!

More in depth instructions...

  1. To initialize bombLoader.js add the bombLoader js/css tags in your head file. bombLoader.js requires jQuery!
<head>

<link href="/path/to/bombLoader.min.css" rel="stylesheet" />

<script src="https://code.jquery.com/jquery-3.4.1.min.js" type="text/javascript"></script>
<script src="/path/to/bombLoader.min.js type="text/javascript"></script>

... </head>
  1. After bombLoader.js is intialized, place a DIV element with any __CLASS__name (Do not use an ID tag) at the top of your page.
<body>

<div class="yourSpecialClass"></div>
  1. Set your element up with the bombLoader.js plugin and enjoy!
$(function() {

  $(".yourSpecialClass").bombLoader();
  
});

bombLoader.js Options...

bombLoader.js comes with the ability to customzie the plugin with various styles and options. To use them, set their values at the time of intializing.

$(function() {

  $(".yourSpecialDiv").bombLoader({
    loader: 'loader-1',
    text: 'Now loading...'
  });
  
});
A list of avaiable options and their default values are below:

| Property | Default | Description | | --- | --- | --- | | loader | 'loader-1' | Specifies the loading DIV to be used, as well as the GIF animation to be used for the interstitial screen | | text | 'Loading...' | Sets the text to be displayed along with the GIF animation in the interstitial screen | | textColor | '#ffffff' | Uses a HEX color code to define the color of the displayed text | | bgColor | '#262626' | Uses a HEX code to set the background color of the interstitial loading screen | | burnOut | '2345' | Sets the timeout (in milliseconds) to hide the loading animation |

An example of a working loading screen would look like:

$(function() {

   $(".yourSepcialDiv").bombLoader({
    loader: 'loader-2',
    bgColor: '#00aaff',
    text: 'This is a loading anim!',
    textColor: '#ffffff',
    burnOut: '1234'
   });

]);