# brockpetrie/vue-moment

Handy Moment.js filters for your Vue.js project.

Repository: https://github.com/brockpetrie/vue-moment
Canonical: https://ross.abutalabs.com/products/vue-moment
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-10-24T19:57:00+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4267, "days_push": 678, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1306, forks 117 (observed 2026-08-28T04:04:18.946409+00:00)

## What it is
A Vue.js plugin that exposes Moment.js date and time formatting as template filters. It lets Vue templates format, parse, and display relative dates directly in markup.

## Use cases
- format dates in vue templates
- display relative time like '3 days ago' in vue
- parse custom date format strings in vue components
- add moment.js filters to a vue project

## When to choose
- you have a Vue 2 project already using Moment.js and want template-level date formatting

## When to avoid
- you use Vue 3, where filters are removed
- you want a maintained date library - Moment.js is deprecated; prefer Day.js or date-fns

## Facets
- artifact type: library
- maturity: maintenance
- function: date-time, templating, plugin-system
- domain: web-development, frontend
- platform: browser
- tags: vuejs, momentjs, date-formatting, vue-filters, vue2, nodejs, javascript

## Member repositories
- brockpetrie/vue-moment (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:18.946409+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:50:57.381494+00:00, confidence not recorded.
  - readme: https://github.com/brockpetrie/vue-moment (fetched 2026-08-28T04:04:18.946409+00:00, sha 24458595d58f)
  - registry_npm: https://registry.npmjs.org/vue-moment (fetched 2026-08-29T12:08:59.016569+00:00, sha 0bc26a5d6adc)
- Data as of 2026-08-30T08:39:29.467469+00:00.
