Skip to content

Getting Started

BleckWolf edited this page May 10, 2025 · 2 revisions

Installation

NPM

npm install friendly-dates

Yarn

yarn add friendly-dates

Importing

import { formatDate } from 'friendly-dates';

Basic usage:

const formattedDate = formatDate(new Date());
console.log(formattedDate); // Outputs: 'Today at 2:00 PM'

Thanks for choosing friendly-dates!

Package made by: Dynamic Innovative Studio

For the community, by the community, with the community.

Clone this wiki locally