0.0.2 • Published 8 months ago
khmer-date-utils v0.0.2
Date Range Utils
A lightweight and versatile npm package designed to simplify working with date ranges in JavaScript and TypeScript applications.
Installation
Install the package using npm:
khmer-date-utilslibrary by running the following command:npm install khmer-date-utilsImport the
khmer-date-utilsin your project Angular CLI: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
}
*/
```