hermajan / countdown
JavaScript library for creating countdowns.
Package info
Language:JavaScript
pkg:composer/hermajan/countdown
v0.3.0
2023-11-07 00:18 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-27 00:48:26 UTC
README
JavaScript library for creating countdowns.
✨ Features
- Lightweight & Dependency-free: Pure JavaScript library with zero external dependencies.
- Multi-language Support: Built-in word inflections and localization for English (
en), Czech (cs), and Slovak (sk). - Flexible View Modes (
data-view):blank(default): Automatically hides leading zero units until the first non-zero unit appears.rest: Displays only non-zero units.all: Shows all time units (years, days, hours, minutes, seconds).
- Customizable Attributes: Easily configure target times (
datetime), prefixes (data-remains), suffixes (data-after), ended messages (data-ended), languages (data-lang), and view modes. - Automatic Updates: Refreshes every second automatically.
- Easy Installation: Available via npm and Composer.
📥 Installation
Install this via one of package managers:
📚 Documentation
Usage and documentation for this project is in wiki. Examples are visible on website.