# Date Range Utils

A lightweight and versatile npm package designed to simplify working with date ranges in JavaScript and TypeScript applications.

## Installation

1. Install the package using npm: `khmer-date-utils` library by running the following command:

    ```bash
    npm install khmer-date-utils
    ```

2. Import the `khmer-date-utils` in your project Angular CLI:

    ```typescript
    import { GetDateRange } from 'khmer-date-utils';
    ```
## Usage
    ```typescript
    import { GetDateRange } from 'khmer-date-utils';

    console.log(GetDateRange(ETypeDate.LastMonth));
    /*
    {
        dateType: 'lastMonth',
        startDate: 2025-02-01T08:47:18.054Z,
        endDate: 2025-02-28T08:47:18.054Z
    }
    */
    ```
## Author
[Mon Sopheap](https://www.linkedin.com/in/mon-sopheap-160633277/)