UNPKG

khmer-money-formatter

Version:

Lightweight, dependency-free TypeScript library for formatting, parsing, and converting Khmer Riel and Khmer numbers.

39 lines (35 loc) • 886 B
# Changelog All notable changes to this project will be documented in this file. ## [1.0.0] - 2026-08-21 ### Added - Khmer Riel formatter - KHR currency symbol support - KHR prefix and suffix positioning - KHR input formatter - KHR long currency format - KHR upward rounding - Default 100 Riel rounding unit - Generic number formatter - Generic number parser - Khmer digit conversion - Khmer number parsing - Number-to-Khmer-text conversion - Decimal-to-Khmer-text conversion - Money-to-Khmer-text conversion - Money validation - Null handling - Undefined handling - Empty value handling - Negative number support - Custom separators - Custom currency symbols - TypeScript declarations - ESM build - CommonJS build - Browser IIFE build - Tree-shaking support - Vitest unit tests - GitHub Actions CI - npm publishing workflow - npm Trusted Publishing / OIDC support - Security policy