Skip to content

gokberkakdeniz/unpacked-javascript-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unpacked-javascript-utils

JavaScript helpers you can use directly in your project

Functions

Name Tags Description
deburr es6 Removes accents and diacritics from text
ensure es6 Ensures value is valid
isPermitted es6 Checks if the given user role have permission
urlBack es6 Gets previous path of the URL
composeValidators ts react-final-form react-intl Composes validators
maxLength ts react-final-form react-intl Checks if given string exceeds maximum length
minLength ts react-final-form react-intl Checks if given string is smaller than minimum length
minValue ts react-final-form react-intl Checks if given number is smaller than given number
number ts react-final-form react-intl Checks if given value is number
required ts react-final-form react-intl Checks if given value is not undefined

Hooks

Name Tags Description
useTranslate es6 react react-intl Translates message