Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@grozav/utils

alexgrozav1kMIT1.3.2TypeScript support: included

Collection of common JavaScript / TypeScript utils by @alexgrozav.

ui, ux, dx, utilities, addClass, capitalizeFirst, clone, debounce, eventBus, filterKeys, focusAttempt, focusFirstDescendant, focusLastDescendant, getStyleProperty, hasClass, hashString, isFocusable, isFunction, isKey, isMobile, isVisible, markSearchString, memoize, off, on, once, query, removeClass, slugify, sortByPath, toCamelCase, toDashCase, toUnderscoreCase, triggerEvent, trim, uid, valueByPath

readme

@grozav/utils

Collection of common JavaScript / TypeScript utils by @alexgrozav.

✅ Fully typed

✅ 100% Tested

✅ CommonJS and ESM

Installation

npm i -S @grozav/utils

License

ISC