@aautcq/web-utils
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

@aautcq/web-utils

Utility TS functions.

Basics

Install

$ npm i -D @aautcq/web-utils

Usage

import { formatFullName } from '@aautcq/web-utils';
import type { AnyClass } from '@aautcq/web-utils';

Documentation

functions

Colors

Function name Arguments Description
initSavedColors
getSavedColors
saveColor
setColorValue
createAlphaSquare
createLinearGradient
rgb2hex
rgba2hexa
hex2rgb
rgb2rgba
rgb2hsv
hsv2rgb

Cookies

Function name Arguments Description
setCookie
getCookie
getCookies
deleteCookie

Dates

Function name Arguments Description
timeAgo
formatDate
formatTime

Data formating

Function name Arguments Description
upperFirst
capitalizeWordsWithSeparator
capitalizeName
shortenString
stringToScreamingSnakeCase
typeConvertor
cleanObjectFromUndefined
formatFullName
lowerCaseStringIncludes
convertFileUrlToPdf
debounce

Location

Function name Arguments Description
getQueryParam
setQueryParams
addQueryParams
removeQueryParams
formatQuery

Phone numbers

Function name Arguments Description
formatPhoneNumber

Scripts

Function name Arguments Description
appendScript

Scroll

Function name Arguments Description
scrollTo

Unique IDs

Function name Arguments Description
getID

Types

Readme

Keywords

Package Sidebar

Install

npm i @aautcq/web-utils

Weekly Downloads

0

Version

2.2.0

License

MIT

Unpacked Size

55.9 kB

Total Files

43

Last publish

Collaborators

  • adrien-autcq