@arturdoruch/util
v1.3.1
Published
A collection of useful JavaScript utilities.
Downloads
10
Maintainers
Readme
Util
A collection of useful JavaScript utilities.
Install
yarn add @arturdoruch/util
Contents
Array utils
import arrayUtils from '@arturdoruch/util/lib/array-utils';
- removeValue
Object utils
import objectUtils from '@arturdoruch/util/lib/object-utils';
- filter
- filterByKeyPattern
- hasKeyPattern
Screen utils
import screenUtils from '@arturdoruch/util/lib/screen-utils';
- getWidth
- getHeight
- getPageYOffset
- getPageXOffset
- setElementPosition
String utils
import stringUtils from '@arturdoruch/util/lib/string-utils';
- repeat
- camelize
- copyToClipboard
Url utils
import urlUtils from '@arturdoruch/util/lib/url-utils';
- parseQueryString
- parseUrl
Type checker
Checks object type.
import typeChecker from '@arturdoruch/util/lib/type-checker';
- isUndefined
- isBoolean
- isString
- isInteger
- isPositiveInteger
- isNumber
- isArray
- isFunction
- isObject