{"library":"vue-timeago","type":"library","category":null,"description":"The `vue-timeago` package provides a Vue.js component for displaying time in a human-readable \"time ago\" format, such as \"5 minutes ago\" or \"2 days ago\". The current stable version is 5.1.3, released in January 2021, indicating a slower release cadence, likely in a maintenance state for its existing feature set. It integrates with `date-fns` under the hood (since version 5.0.0) for precise date calculations and extensive locale support, which differentiates it from prior versions (like v3 and v4) that were much smaller but potentially less robust. It functions as a Vue plugin, exposing a `<timeago>` component that accepts a `datetime` prop and offers auto-updating capabilities, custom locales, and converter functions. While it leverages `date-fns` for its core logic, this dependency means a larger bundle size compared to its predecessors. It is primarily designed for Vue 2 applications, with dedicated alternatives available for Vue 3.","language":"javascript","status":"maintenance","version":"5.1.3","tags":["javascript","timeago","vue","filter"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-timeago","imports":["import VueTimeago from 'vue-timeago'","import zhCN from 'date-fns/locale/zh_cn'","<template><timeago :datetime=\"myDate\"></timeago></template>"]},{"cmd":"yarn add vue-timeago","imports":[]},{"cmd":"pnpm add vue-timeago","imports":[]}],"homepage":null,"github":"https://github.com/egoist/vue-timeago","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-timeago","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-timeago/compatibility"}}