{"library":"timeprettify","type":"library","category":null,"description":"Lightweight duration formatter with multi-locale support. Current stable version is 0.0.7. It provides a simple `format` function to convert seconds into human-readable strings like '1 hour 1 minute', supporting four locales (English, Turkish, Turkmen, Russian) and three styles (long, short, narrow). Releases are infrequent. Key differentiators: no dependencies, TypeScript-first, small bundle size, and plural rule support for Russian. A `createFormatter` factory enables reusable preset configurations.","language":"javascript","status":"active","version":"0.0.7","tags":["javascript","duration","format","time","i18n","typescript","locale","humanize"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install timeprettify","imports":["import { format } from 'timeprettify'","import { createFormatter } from 'timeprettify'","import type { FormatOptions } from 'timeprettify'","import type { Locale } from 'timeprettify'","import type { Style } from 'timeprettify'"]},{"cmd":"yarn add timeprettify","imports":[]},{"cmd":"pnpm add timeprettify","imports":[]}],"homepage":"https://github.com/orazchollaev/timeprettify#readme","github":"https://github.com/orazchollaev/timeprettify","docs":null,"changelog":null,"pypi":null,"npm":"timeprettify","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}