This is a JavaScript time conversion library designed to format millisecond integers as human-readable durations and parse unit-based strings back into total milliseconds. It serves as a utility for managing the transition between machine-readable durations and text representations. The library provides bidirectional mapping, allowing for the conversion of raw numbers to strings and the parsing of strings containing units like days, hours, and minutes back into numeric millisecond counts. It supports both abbreviated and full written-out time formats.
timeago.js is a JavaScript library that converts timestamps into human-readable relative time strings. It functions as an internationalized date library that transforms static date and time data into descriptive statements of elapsed time. The project provides a dynamic time updater that automatically refreshes relative time labels on a webpage at regular intervals. It supports multilingual date localization, allowing time-elapsed statements to be translated into various languages using built-in or custom locale settings.
date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting, and calculating dates and times. It serves as an immutable date manipulation library and a tool for time zone management, ensuring that date transformations are performed without modifying the original date objects. The library functions as a date formatting tool that converts date objects into human-readable strings using custom patterns and international locales. It includes a specific toolset for adjusting and calculating date representations across different geographical re
ms.js ist eine Bibliothek zur Millisekunden-Konvertierung, die Tools zum Formatieren von Zeitspannen in Text und zum Parsen von menschenlesbaren Zeit-Strings zurück in Zahlen bereitstellt. Sie dient als Utility, um numerische Millisekunden-Werte in lesbare Strings zu übersetzen und Zeiteinheiten wie Tage, Stunden und Minuten in numerische Millisekunden umzuwandeln.
Die Hauptfunktionen von rauchg/ms.js sind: Duration Formatters, Unit Conversions, Time Conversion Utilities, Measurement Unit Parsers, Human-Readable Time Delta Formatters, Human-Readable Time Parsers, Time String Parsers, Application Timeout Utilities.
Open-Source-Alternativen zu rauchg/ms.js sind unter anderem: vercel/ms — This is a JavaScript time conversion library designed to format millisecond integers as human-readable durations and… hustcc/timeago.js — timeago.js is a JavaScript library that converts timestamps into human-readable relative time strings. It functions as… dawidjaniga/map-countdown — 🗺️⏳ Count down to your events—visually and interactively! With React at its core, this project merges time and place,… gumroad/countdown.js — Super simple countdowns. date-fns/date-fns — date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting,… iamkun/dayjs — Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent,…