@gmana/utils
Advanced tools
Comparing version 1.2.11 to 1.2.12
@@ -127,4 +127,9 @@ import { ClassValue } from 'clsx'; | ||
/** | ||
* Formats a date value into a string based on the given format options. | ||
*/ | ||
declare function formatDate(input: string | number | Date, options?: Intl.DateTimeFormatOptions | undefined): string; | ||
declare function formatDateFromTo(date: Date): string; | ||
interface Formatter { | ||
@@ -336,2 +341,7 @@ notation?: 'standard' | 'scientific' | 'engineering' | 'compact'; | ||
/** | ||
* Slugify the provided string arguments by normalizing accents, | ||
* converting to lowercase, removing non-alphanumeric characters, | ||
* replacing spaces with dashes, and trimming. | ||
*/ | ||
declare const slugify: (...args: (string | number)[]) => string; | ||
@@ -356,2 +366,2 @@ | ||
export { A, B, BACKSPACE, C, D, DELETE, DOWN_ARROW, E, END, ENTER, ESCAPE, F, G, type Geo, H, HOME, I, IdGenerator, J, K, L, LEFT_ARROW, LOCALHOST_GEO_DATA, M, N, O, P, PAGE_DOWN, PAGE_UP, Q, R, RIGHT_ARROW, S, SPACE, type StringValue, T, TAB, U, UP_ARROW, V, W, X, Y, Z, baseX, bytesToSize, cn, colorLuminance, compactObject, copyToClipboard, cubeIn, cubeOut, darken, debug, decode, download, downloadCanvas, durationFormat, encode, error, fetcher, flatten, formatDate, formatNumber, getColor, getDateTimeLocal, getDomainWithoutWWW, getGeoData, getImageInContent, getRandomInitials, getRandomInt, getURL, getZDefaults, hash, hexToHsl, hexToRgb, idV1, idV2, info, isBrowser, isEmpty, isFunction, isNavigator, isTokenExpired, isUrl, lighten, limitInput, limitText, log, lowerCaseLetters, maxLength, maxNumber, nFormatter, numberToWord, numberToWordKm, numbers, onlyDecimal, onlyNumeric, shuffle, slugify, specialCharacters, specialCharactersExtra, timeAgo, toASCII, toCamelCase, toCapitalize, toKebabCase, toKhmer, toPixel, toSentenceCase, toSnakeCase, toTitleCase, upperCaseLetters, wait, warn }; | ||
export { A, B, BACKSPACE, C, D, DELETE, DOWN_ARROW, E, END, ENTER, ESCAPE, F, G, type Geo, H, HOME, I, IdGenerator, J, K, L, LEFT_ARROW, LOCALHOST_GEO_DATA, M, N, O, P, PAGE_DOWN, PAGE_UP, Q, R, RIGHT_ARROW, S, SPACE, type StringValue, T, TAB, U, UP_ARROW, V, W, X, Y, Z, baseX, bytesToSize, cn, colorLuminance, compactObject, copyToClipboard, cubeIn, cubeOut, darken, debug, decode, download, downloadCanvas, durationFormat, encode, error, fetcher, flatten, formatDate, formatDateFromTo, formatNumber, getColor, getDateTimeLocal, getDomainWithoutWWW, getGeoData, getImageInContent, getRandomInitials, getRandomInt, getURL, getZDefaults, hash, hexToHsl, hexToRgb, idV1, idV2, info, isBrowser, isEmpty, isFunction, isNavigator, isTokenExpired, isUrl, lighten, limitInput, limitText, log, lowerCaseLetters, maxLength, maxNumber, nFormatter, numberToWord, numberToWordKm, numbers, onlyDecimal, onlyNumeric, shuffle, slugify, specialCharacters, specialCharactersExtra, timeAgo, toASCII, toCamelCase, toCapitalize, toKebabCase, toKhmer, toPixel, toSentenceCase, toSnakeCase, toTitleCase, upperCaseLetters, wait, warn }; |
{ | ||
"name": "@gmana/utils", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
461887
15310