UNPKG

num-beauty

Version:

An ultra lightweight module for formatting numbers into human-friendly strings

35 lines (34 loc) 1.6 kB
export declare const locale: { readonly code: "ko-KR"; readonly name: "한국어 (Korean)"; readonly masks: { readonly phone: "###-####-####"; readonly postal: "#####"; readonly 'resident-id': "######-#######"; }; readonly currencies: { readonly KRW: { readonly symbol: "₩"; readonly position: "before"; }; }; readonly units: readonly [readonly ["", ""], readonly ["천", "천"], readonly ["만", "만"], readonly ["억", "억"], readonly ["조", "조"]]; readonly speech: { readonly small: readonly ["영", "일", "이", "삼", "사", "오", "육", "칠", "팔", "구", "십", "십일", "십이", "십삼", "십사", "십오", "십육", "십칠", "십팔", "십구"]; readonly tens: readonly ["", "십", "이십", "삼십", "사십", "오십", "육십", "칠십", "팔십", "구십"]; readonly units: readonly [readonly ["", ""], readonly ["천", "천"], readonly ["만", "만"], readonly ["억", "억"], readonly ["조", "조"]]; readonly point: "점"; readonly minus: "마이너스"; readonly currency: { readonly KRW: readonly ["원", "원"]; }; readonly currencyJoiner: " "; readonly rules: { readonly tensHyphenate: false; readonly tensJoiner: ""; readonly hundredsJoiner: ""; readonly hundredSuffix: "백"; }; readonly hundredsWords: readonly ["", "백", "이백", "삼백", "사백", "오백", "육백", "칠백", "팔백", "구백"]; }; };