Socket
Book a DemoInstallSign in
Socket

@the-node-forge/loader-kit

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@the-node-forge/loader-kit

Loader-Kit is a lightweight, customizable JavaScript library designed to add beautiful loading indicators to your web applications. Featuring multiple loader types—including spinners, progress bars, and dot loaders—Loader-Kit leverages vanilla JavaScript

1.0.0
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
3
Weekly downloads
 
Created
Source

Loader Kit

License: MIT

Made with TypeScript

NPM Version Build Status Platform

Live Documentation

A lightweight, customizable loader library for JavaScript/TypeScript applications. Loader Kit provides beautiful and dynamic loading indicators—including spinners, progress bars, and dot loaders—with smooth CSS animations to enhance user experience during asynchronous operations.

✨ Features

  • Multiple Loader Types – Choose between spinners, progress bars, or dots.
  • Minimal API Surface – Just import and go.
  • Smooth CSS Animations – Built with modern CSS and vanilla JavaScript.
  • Built-In HelpersSpinner, ProgressBar, and Dots for dead-simple usage.

📦 Installation

npm install @the-node-forge/loader-kit

or using Yarn:

yarn add @the-node-forge/loader-kit

🛠️ Usage

import { Spinner, ProgressBar, Dots } from '@the-node-forge/loader-kit';

// Show a spinner
Spinner.show();
setTimeout(() => Spinner.hide(), 2000);

// Show a progress bar
ProgressBar.start('#progress-bar');
ProgressBar.set(50);
ProgressBar.complete();

// Show dot loader
Dots.show();
Dots.hide();

🧩 Helpers API

Spinner

Spinner.show(container?: HTMLElement, options?: {
  color?: string;
  size?: number;
  position?: 'inline' | 'centered' | 'overlay';
  style?: Partial<CSSStyleDeclaration>;
})
Spinner.hide()

ProgressBar

ProgressBar.start(container: HTMLElement | string, options?: {
  color?: string;
  size?: number;
  style?: Partial<CSSStyleDeclaration>;
})
ProgressBar.set(percent: number)
ProgressBar.complete()

Dots

Dots.show(container?: HTMLElement, options?: {
  color?: string;
  position?: 'inline' | 'centered' | 'overlay';
  style?: Partial<CSSStyleDeclaration>;
})
Dots.hide()

💡 Contributing

We welcome contributions! Feel free to open an issue or submit a pull request.

⭐ Support

If you find Loader Kit helpful, give it a ⭐ on GitHub.

Keywords

loader

FAQs

Package last updated on 18 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.