UNPKG

num-beauty

Version:

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

1 lines 836 B
export const locale={code:"ja-JP",name:"日本語 (Japanese)",masks:{postal:"###-####",phone:"###-####-####","tax-id":"####-####-####"},currencies:{JPY:{symbol:"¥",position:"before"}},units:[["",""],["千","千"],["万","万"],["億","億"],["兆","兆"]],speech:{small:["零","一","二","三","四","五","六","七","八","九","十","十一","十二","十三","十四","十五","十六","十七","十八","十九"],tens:["","十","二十","三十","四十","五十","六十","七十","八十","九十"],units:[["",""],["千","千"],["万","万"],["億","億"],["兆","兆"]],point:"点",minus:"マイナス",currency:{JPY:["円","円"]},currencyJoiner:"",rules:{tensHyphenate:!1,tensJoiner:"",hundredsJoiner:"",hundredSuffix:"百"},hundredsWords:["","百","二百","三百","四百","五百","六百","七百","八百","九百"]}};