UNPKG

@visulima/humanizer

Version:

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

17 lines (14 loc) 435 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 };