UNPKG

@visulima/humanizer

Version:

Humanizer is a library for humanizing data in a human-readable form.

2 lines (1 loc) 492 B
import a from"./util/create-duration-language.js";const m={dae:"d",dag:"d",jaar:"y",jare:"y",maand:"mo",maande:"mo",millisekonde:"ms",millisekondes:"ms",minute:"m",minuut:"m",sekonde:"s",sekondes:"s",ure:"h",uur:"h",week:"w",weke:"w"},s=a("jaar",e=>`maand${e===1?"":"e"}`,e=>e===1?"week":"weke",e=>e===1?"dag":"dae",e=>e===1?"uur":"ure",e=>e===1?"minuut":"minute",e=>`sekonde${e===1?"":"s"}`,e=>`millisekonde${e===1?"":"s"}`,"oor %s","%s gelede",",",m," ","_");export{s as durationLanguage};