@davincihealthcare/utils
v1.2.8
Published
A collection of utility for Elty.
Downloads
1,184
Keywords
Readme
utils
A collection of utility for Elty.
Features
- String Manipulation: Functions for formatting, parsing, and transforming strings.
- Array Operations: Utilities for transforming, filtering, and sorting arrays.
- Date and Time: Functions for manipulating and formatting dates and times.
- Math Utilities: Common mathematical operations and constants.
- Object Handling: Functions for managing and manipulating objects.
- Geographical Data: Functions for handling cities, countries, regions, and districts.
How to Use
This package is available on npm as @davincihealthcare/utils
. To install the package, run the following command:
npm install @davincihealthcare/utils
# or using yarn
yarn add @davincihealthcare/utils
# or using pnpm
pnpm add @davincihealthcare/utils
Here's an example of how to use the utility functions:
import { currentTimeInSeconds } from '@davincihealthcare/utils';
const currentTime = currentTimeInSeconds();
console.log(currentTime); // Outputs the current time in seconds