New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@appello/common

Package Overview
Dependencies
Maintainers
3
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appello/common

Common package with many useful features for web and mobile development

latest
Source
npmnpm
Version
4.2.9
Version published
Maintainers
3
Created
Source

Common frontend library of components for web and mobile environmental

How to use it

Install package from npm:

npm i @appello/common

Import modules you need in your code:

import { useInterval, isNill } from '@appello/common';

Development guide

For developers

Each new functionality must be added to the folder and exported from the root! This is necessary to simplify the import of the necessary functionality:

import { useInterval, isFunction, ... } from '@appello/common';

If you need to create a new module, remember to add index.ts with exports.

Hooks

Hook NameDescriptionFile Path
useCodeTimerTimer functionality for verification codesuseCodeTimer
useCombinedRefCombining multiple refsuseCombinedRef
useDebounceTwo files: useDebounceCallback.md and useDebounceEffect.mduseDebounce
useDefaultState with fallback valuesuseDefault
useFirstMountStateDetecting first renderuseFirstMountState
useHookFormPersistForm persistence in storageuseHookFormPersist
useIntervalInterval managementuseInterval
useIsClientClient-side detectionuseIsClient
useIsMountedMount state checking (typo now fixed)useIsMounted
useLatestLatest value referenceuseLatest
useManualUpdateForce re-rendersuseManualUpdate
useMemoCallbackStable callback referencesuseMemoCallback
useMountEffectMount-only effectsuseMountEffect
usePreviousPrevious value trackingusePrevious
useQueryParamsBuilderQuery parameter managementuseQueryParamsBuilder
useSelectOptionsReact-select compatibilityuseSelectOptions
useStateObjectObject state managementuseStateObject
useStepStep counter managementuseStep
useSwitchValueBoolean toggle managementuseSwitchValue
useUnmountEffectUnmount-only effectsuseUnmountEffect
useUpdateEffectUpdate-only effectsuseUpdateEffect

Types:

typesDocs

Utilities

Utility NameDescriptionFile Path
checkIsServerServer-side environment detectioncheckIsServer
checkNavigatorNavigator object availability checkcheckNavigator
debounceFunction execution delay utilitydebounce
deepMergeObjectsDeep object merging with immutabilitydeepMergeObjects
entriesType-safe Object.entries wrapperentries
getDirtyValuesExtract modified form fieldsgetDirtyValues
getFileExtensionFile extension extraction utilitygetFileExtension
getProtoReliable type detection using Object.prototype.toStringgetProto
getWeekdaysNamesLocalized weekday names generationgetWeekdaysNames
isArrayArray type checking utilityisArray
isDateDate object type checkingisDate
isEmptyEmpty value detection for multiple typesisEmpty
isFloatFloating-point number detectionisFloat
isFunctionFunction type checking utilityisFunction
isIntInteger type checking utilityisInt
isNilNull and undefined detectionisNil
isNumberNumber type checking utilityisNumber
isObjectPlain object type checkingisObject
isPrimitivePrimitive type detectionisPrimitive
isPromisePromise and thenable object detectionisPromise
isStringString type checking utilityisString
isSymbolSymbol type checking utilityisSymbol
keysType-safe Object.keys wrapperkeys
makeFormDataObject to FormData conversionmakeFormData
makeQueryStringURL query string generationmakeQueryString
mapFormDataFormData transformation utilitymapFormData
mergeCollectionByKeyArray merging by specified keymergeCollectionByKey
noopNo-operation function placeholdernoop
omitObject property exclusion utilityomit
pickObject property selection utilitypick
sleepPromise-based delay utilitysleep
throttleFunction execution rate limitingthrottle
toBase64File to base64 string conversiontoBase64
toFiniteSafe finite number conversiontoFinite
isFileFile instance checking utilityisFile
isBlobBlob instance checking utilityisBlob
deepEqualDeep comparison of two values for equalitydeepEqual
differenceCreates an array of values not included in the other given arraysdifference
intersectionCreates an array of unique values that are included in all given arraysintersection
uniqCreates a duplicate-free version of an arrayuniq
compactCreates an array with all falsy values removedcompact
enumKeyToReadableConverts an enum key into a human-readable formatenumKeyToReadable
capitalizeCapitalizes the first character of a stringcapitalize
truncateTruncates a string to the specified lengthtruncate
pluralizeReturns the appropriate word form based on a countpluralize
formatNumberFormats a number using thousand separatorsformatNumber
formatCurrencyFormats a number as currencyformatCurrency
getFileNameExtracts the filename from a filename or file pathgetFileName
enumToSelectOptionsConverts an enum or enum-like object into an array of select optionsenumToSelectOptions
deepKeysReturns all key paths in an objectdeepKeys

Keywords

appello

FAQs

Package last updated on 30 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts