22 dépôts
Utilities for displaying numbers according to locale-specific conventions and precision requirements.
Distinct from Numeric Fields: Distinct from Numeric Fields: focuses on display-time formatting rather than data validation or serialization.
Explore 22 awesome GitHub repositories matching web development · Numeric Formatting. Refine with filters or upvote what's useful.
React-admin is a framework for building data-driven administrative interfaces that connect to REST or GraphQL backends. It provides a comprehensive suite of tools for managing the full lifecycle of administrative applications, including resource-oriented routing, declarative form scaffolding, and context-driven state management. By utilizing a modular adapter-based architecture, the framework abstracts backend communication, allowing developers to build consistent CRUD interfaces that handle data fetching, authentication, and synchronization automatically. The project distinguishes itself thr
Formats numerical values according to locale-specific conventions for consistent presentation.
GSAP is a comprehensive JavaScript animation library designed for orchestrating complex motion sequences and interactive user interfaces. It provides a robust property-interpolation engine that calculates intermediate values for CSS styles, attributes, and numeric properties, enabling smooth visual transitions across web elements. The framework is built on a core architecture that manages animation lifecycles, timeline-based sequence orchestration, and virtual property interception to ensure precise control over motion. The library distinguishes itself through a modular, plugin-based extensib
Formats numeric values by stripping and appending units during processing.
Cleave.js is a JavaScript library that applies real-time visual formatting to form fields as users type. It provides specialized utilities to enforce visual patterns for credit cards, phone numbers, dates, times, and large numerals. The library includes predefined formatting rules for common data types, such as detecting credit card issuers to apply correct spacing and managing country-specific regional patterns for international phone numbers. It also supports large numeral grouping using Western, Indian, and Chinese numbering systems. Users can define custom input patterns using specific b
Applies locale-specific thousands separators and numeric formatting for large numerals during user input.
Numeral-js is a JavaScript number formatting library used to convert raw numeric values into human-readable strings for currencies, percentages, and abbreviations. It includes a numeric string parser to extract raw values from formatted strings by removing symbols and delimiters. The library provides locale-aware formatting to adjust decimal separators and currency symbols based on regional language settings. It also features a data size converter that transforms byte values into readable measurements using base-1000 or base-1024 standards. The system supports the registration of custom form
Provides a comprehensive suite for displaying numbers according to locale-specific conventions, currencies, and percentages.
DiceBear is an SVG avatar generation library and image API that creates deterministic profile pictures from seed strings. It provides a system for generating consistent visual outputs across different environments and programming languages using JSON style definitions. The project distinguishes itself with a comprehensive design toolkit, including a visual style designer and a Figma integration plugin that converts design frames into JSON schemas. It supports sophisticated visual control through weighted probability distributions for components, contrast-aware color management for accessibili
Standardizes numeric values to a fixed number of decimal places for cross-platform SVG consistency.
CountUp.js is a lightweight JavaScript library that animates a numerical value from zero to a target number over a configurable duration with smooth easing. It supports both count-up and count-down transitions, making it a focused tool for displaying animated numerical changes on web pages. The library distinguishes itself through support for bidirectional number animation, custom easing functions, and locale-aware number formatting with configurable separators, decimal points, and digit groupings. It also offers plugin-based rendering, allowing developers to replace the default display logic
Maps Unicode characters for non-Latin numeral systems to render animated counts in Eastern Arabic or Farsi digits.
dc.js is a multi-dimensional analysis tool and visualization framework used to build interactive data dashboards. It functions as a charting library that renders diverse SVG visualizations powered by D3 and integrates natively with Crossfilter to enable coordinated filtering across large datasets. The project is distinguished by its linked-view coordination, where selecting a data range or category in one chart simultaneously updates all other connected views. This allows for dynamic data exploration through dimensional chart linking and coordinated brushing, transforming raw datasets into na
Implements utilities for displaying numeric values according to locale-specific conventions and precision.
vue-i18n is an internationalization framework and plugin for Vue.js applications. It serves as a dynamic translation manager and localization formatting library used to translate user interface text and format dates and numbers for global audiences. The project distinguishes itself through a dynamic translation workflow that supports asynchronous locale loading and the ability to reload translation messages in real-time without refreshing the page. It provides specialized mechanisms for rich text rendering, allowing the interpolation of HTML tags and Vue components directly into translated st
Allows the registration of project-specific rules to customize how translated messages are formatted.
number-flow is an animated number UI component that creates fluid vertical transitions between numeric values using digit-by-digit animations. It serves as a locale-aware number formatter that represents values according to regional cultural rules and browser internationalization standards. The component is designed for precise visual integration, exposing internal elements via CSS to allow for external styling. It incorporates accessibility features by detecting browser capabilities and respecting system-level reduced motion preferences. The project covers capabilities for dynamic data visu
Formats numeric values according to regional cultural rules and browser internationalization standards.
react-quill is a React component wrapper for the Quill rich text editor, providing a customizable WYSIWYG interface for creating and manipulating formatted semantic HTML content. It functions as a controlled component that manages the internal state and events of the editor within the React lifecycle. The project enables the definition of custom text formats and formatting schemas to support specialized styling or unique data structures. It features configurable toolbars and visual themes, allowing for the application of custom CSS and the specification of custom DOM elements for the editing
Enables the registration of custom text formats and formatting schemas to support specialized styling.
Symfony Translation is a PHP library and framework component for internationalizing applications. It provides a complete system for managing message catalogs, handling locale-aware string translation, and formatting messages using ICU MessageFormat syntax to support pluralization, gender, and conditional selection. The component organizes translatable strings into named domains, supports key-based lookup that decouples source text from localized versions, and offers deferred rendering through translatable objects that store parameters and render only when output is needed. The library disting
Registers custom loaders and dumpers for non-standard translation file formats.
Lingui is a JavaScript internationalization library that provides a framework-agnostic core with bindings for React, SolidJS, Svelte, Astro, and other JavaScript frameworks. It operates through a compile-time message extraction pipeline that scans source files for translatable strings, generates standard PO, JSON, or CSV catalog files, and compiles them into optimized JavaScript modules for production deployment. The library uses macro-based message definition to wrap translatable text in source code while preserving context for extraction, and includes a plural rule engine that automatically
Stores translations in standard PO, CSV, JSON, or custom formats for compatibility with translation platforms.
Roc is a statically typed, functional programming language built around immutable-by-default semantics, exhaustive pattern matching on tag unions, and a type system that combines optional explicit annotations with full compile-time type inference. Its core identity centers on correctness and expressiveness, using tagged unions for error handling with a question-mark operator for early error propagation, and a trailing-bang naming convention that makes side-effect boundaries syntactically visible at every call site. The language distinguishes itself through a platform-based I/O abstraction tha
Includes numeric formatting utilities that convert numbers to string representations.
PhoneNumberKit est un framework Swift pour analyser, formater et valider les numéros de téléphone internationaux selon les standards de numérotation mondiaux. Il fournit un système de tables de recherche, d'analyseurs structurels et d'outils de validation pour gérer les complexités de la numérotation téléphonique internationale. La bibliothèque convertit les chaînes brutes en objets structurés contenant les codes pays et les numéros nationaux. Elle traduit les codes d'appel internationaux en noms de pays complets et vérifie si les chaînes de numéros de téléphone sont logiquement possibles et conformes à des plans de numérotation régionaux spécifiques. Le projet inclut des utilitaires pour transformer des chiffres bruts en mises en page internationales ou nationales standardisées. Il fournit également des capacités pour le masquage de saisie utilisateur en temps réel et l'affichage d'espaces réservés et de drapeaux spécifiques à la région au fur et à mesure que l'utilisateur tape.
Transforms raw digits into standardized international or national layouts using country-specific templates.
indicatif est une bibliothèque Rust pour rendre des barres de progression et des spinners de chargement dans les applications de ligne de commande. Il fournit des indicateurs de progression de terminal qui suivent les pourcentages d'achèvement des tâches et le temps estimé restant. Le projet inclut un gestionnaire de progression multi-barres pour coordonner plusieurs indicateurs simultanés dans une seule vue de terminal et un synchroniseur de logs de terminal pour empêcher la sortie de journalisation de chevaucher ou de déformer les barres actives. Il dispose d'un composant spinner pour signaler les processus d'arrière-plan actifs lorsque le pourcentage d'achèvement total est inconnu. La bibliothèque prend en charge la personnalisation des modèles de progression pour définir des mises en page visuelles et intègre la journalisation de terminal pour maintenir la stabilité visuelle pendant l'exécution asynchrone.
Provides a custom DSL to define the layout of progress bars by mapping placeholders to dynamic value providers.
QRCoder est une bibliothèque C# native pour générer et rendre des codes QR à partir de textes et de charges utiles de données. Elle fournit une implémentation sans dépendance du standard de code QR pour l'écosystème .NET, gérant tout le processus, de l'encodage des données à la sortie visuelle. La bibliothèque inclut des outils pour personnaliser les codes QR via l'ajustement des couleurs, des niveaux de correction d'erreur et l'intégration de logos personnalisés. Elle prend également en charge le formatage de charge utile standardisé pour des types de données spécifiques tels que les identifiants WiFi, les cartes de contact et les systèmes de paiement. Le moteur de rendu produit des codes QR dans plusieurs formats, incluant PNG, SVG, PDF, ASCII, Bitmap et PostScript. Les utilisateurs peuvent également accéder à la matrice de modules sous-jacente pour un rendu personnalisé ou une analyse structurelle.
Constructs standardized input strings for WiFi credentials and contact cards before they are encoded into the QR matrix.
accounting.js est une bibliothèque JavaScript et une suite d'utilitaires pour formater des nombres localisés et des chaînes de devises, arrondir des valeurs décimales et analyser des chaînes de devises. Elle fournit des outils pour transformer des valeurs numériques en chaînes lisibles par l'homme en utilisant des séparateurs spécifiques à la langue et des symboles personnalisés. La bibliothèque inclut un analyseur de chaîne de devises pour extraire des valeurs numériques brutes à partir de chaînes formatées en supprimant les symboles et les séparateurs. Elle propose également un outil d'arrondi à virgule flottante conçu pour éviter les erreurs de précision binaire lors des calculs financiers. Des capacités supplémentaires couvrent l'alignement vertical des symboles monétaires et des points décimaux pour les tableaux financiers. L'ensemble d'outils prend également en charge le formatage des nombres localisés et la conversion de nombres ou de tableaux de nombres en chaînes avec des paramètres de précision spécifiques.
Constructs currency strings by injecting numbers into templates that define symbol placement and precision.
Ceci est le site web de documentation complet pour le framework JavaScript progressif Vue 2. Il sert de référence technique et de guide de développement pour la création d'interfaces utilisateur réactives et d'applications monopage. Le site fournit une référence API JavaScript détaillée et un répertoire de composants web. Il couvre l'implémentation d'architectures basées sur des composants, la gestion d'état réactive et l'utilisation d'un DOM virtuel pour synchroniser l'état de l'application avec le navigateur. La documentation détaille des capacités incluant le routage côté client, la manipulation déclarative du DOM et les optimisations de build frontend telles que le rendu côté serveur et la précompilation de templates. Elle explique également l'approche du framework en matière de synchronisation d'état, de cycles de vie des composants et l'utilisation de directives personnalisées. Le contenu est maintenu sous forme d'une collection de tutoriels et de spécifications, avec une documentation éditée via Markdown.
Provides reusable functions to transform data values into specific formats within template interpolations.
go-humanize est une bibliothèque Go permettant de convertir des nombres bruts, des tailles d'octets et des durées en chaînes de caractères en langage naturel pour améliorer la lisibilité humaine. Le projet fournit des formateurs spécialisés pour les tailles d'octets utilisant les normes SI ou IEC, ainsi qu'un formateur de temps relatif qui transforme les durées en descriptions telles que "il y a trois jours". Il inclut également un formateur d'unités SI pour convertir des valeurs numériques vers et depuis les préfixes et symboles du Système International d'Unités. Au-delà des unités techniques, la bibliothèque inclut des utilitaires de langage naturel pour la mise au pluriel des noms, la génération de nombres ordinaux et la jonction de listes de mots avec des conjonctions grammaticales. Des outils numériques supplémentaires gèrent les séparateurs de milliers, la précision décimale et les suffixes pour les grands nombres.
Transforms raw byte counts into human-readable units such as KB, MB, or GB.
This library provides a set of tools for formatting numeric values and masking user input within React components. It includes a customizable text input wrapper that synchronizes raw numeric values with formatted display strings and a specialized input masking component for enforcing string patterns and templates during data entry. The project features a localized number formatter that utilizes browser localization APIs to apply regional grouping, prefixes, and suffixes. It supports specialized financial formatting, such as displaying negative values in parentheses, and provides the ability t
Transforms raw numeric strings into formatted versions based on predefined templates for consistent display.