The @abhi2601/date-formatter
package provides a simple and effective way to format dates in your JavaScript/TypeScript projects. This package allows you to convert dates into various formats with ease.
To install the @abhi2601/date-formatter
package, use the following npm command:
npm install @abhi2601/date-formatter
Usage
Importing the Package
import { dateFormatter } from '@abhi2601/date-formatter';
dateFormatter(date, format)