my-multi-framework-library

1.0.0 • Public • Published

My Multi-Framework Library

Core Functionality

formatDate(date, format)

Formats a date into a readable string.

Parameters:

  • date (Date): The date to format.
  • format (string): The format string.

Returns:

  • string: The formatted date.

React Integration

import DateFormatter from 'my-library/react-adapter/DateFormatter';

<DateFormatter date={new Date()} format="MM/DD/YYYY" />

/my-multi-framework-library/

    Package Sidebar

    Install

    npm i my-multi-framework-library

    Weekly Downloads

    0

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    3.86 kB

    Total Files

    9

    Last publish

    Collaborators

    • buddhikadev