UNPKG

@visulima/humanizer

Version:

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

17 lines (14 loc) 501 B
import createDurationLanguage from './util/create-duration-language.mjs'; const durationLanguage = createDurationLanguage( "साल", (counter) => counter === 1 ? "महीना" : "महीने", (counter) => counter === 1 ? "हफ़्ता" : "हफ्ते", "दिन", (counter) => counter === 1 ? "घंटा" : "घंटे", "मिनट", "सेकंड", "मिलीसेकंड", "%s में", "%s पहले" ); export { durationLanguage };