{"library":"react-moment","type":"library","category":null,"description":"react-moment is a React component that acts as a wrapper for the widely-used `moment.js` date and time library. It enables developers to easily display formatted dates and times within React applications, leveraging Moment's extensive parsing, formatting, and manipulation capabilities. The current stable version, 1.2.2, integrates with `moment.js` versions 2.29.0 and higher. While `moment.js` itself is now considered a legacy project with its maintainers recommending modern alternatives like Luxon, date-fns, or Day.js, `react-moment` remains functional for projects still relying on the Moment.js ecosystem. It provides a declarative, component-based API for Moment's features, including relative time (\"from now\"), calendrical formatting, and custom date displays, often with built-in interval updates. The library also ships with TypeScript types, enhancing the developer experience in typed React projects.","language":"javascript","status":"maintenance","version":"1.2.2","tags":["javascript","date","moment","react","react-component","time","typescript"],"install":[{"cmd":"npm install react-moment","imports":["import Moment from 'react-moment';","import type { MomentProps } from 'react-moment';","import Moment from 'react-moment'; Moment.startPooledTimer();"]},{"cmd":"yarn add react-moment","imports":[]},{"cmd":"pnpm add react-moment","imports":[]}],"homepage":null,"github":"https://github.com/headzoo/react-moment","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-moment","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/react-moment/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}