237
total weekly downloads
34 packages
@pareeshy/auto-ellipsis
Intelligent text truncation component and hook for React supporting single-line, multi-line, ResizeObserver responsive reflow, and expand/collapse accessibility.
@pareeshy/browser-storage
Unified browser storage abstraction for localStorage, sessionStorage, and IndexedDB with typed schemas, custom serialization, and clean async API.
@pareeshy/file-validator
Comprehensive client-side file validation library supporting MIME types, magic bytes detection, size limits, image dimensions, and detailed error reports.
@pareeshy/form-dirty-state
High-performance dirty state detection hook for React forms with deep equality, reset control, and beforeunload prompt integration.
@pareeshy/image-compressor
High-performance client-side image compression library supporting JPEG, PNG, and WebP with dimension resizing and Blob/File output.
@pareeshy/image-dimensions
Safe, lightweight image dimensions extractor for File, Blob, and image URL inputs in browsers with aspect ratio calculations.
@pareeshy/internal-utils
Internal utilities for @pareesh packages
@pareeshy/react-confirm-action
Accessible, headless promise-based confirmation dialog workflow for React with keyboard traps and zero UI library lock-in.
@pareeshy/react-error-boundary-lite
Ultra-lightweight, resilient React Error Boundary component with reset keys, retry handler, and render prop support.
@pareeshy/react-file-dropzone-lite
Lightweight, headless drag-and-drop file upload zone hook and component for React with full keyboard navigation and validation support.
@pareeshy/react-shortcuts
Ergonomic keyboard shortcut manager for React with Mac/Windows 'mod' normalization, scoping, and conflict detection.
@pareeshy/safe-json
Safe JSON serialization and parsing utilities with circular reference resolution, typed fallback results, and detailed syntax errors.
@pareeshy/scroll-lock
Reliable scroll locking library and React hook with scrollbar shift compensation, nested locks support, iOS touch handling, and clean restoration.
@pareeshy/smart-search
High-speed client-side fuzzy search utility and React hook with scoring, keyword highlighting, recent history, and keyboard navigation.
@pareeshy/url-state
Seamless bidirectional synchronization of React state with browser URL search parameters supporting numbers, booleans, arrays, push/replace modes, and SSR.
@pareeshy/use-copy-to-clipboard
Robust React hook for copying text to clipboard with modern Clipboard API, textarea fallback, copied state, and configurable timeout.
@pareeshy/use-debounced-value
High-performance, SSR-safe React hook for debouncing values and callbacks with leading/trailing execution, cancellation, and flushing.
@pareeshy/use-element-size
High-performance ResizeObserver-based DOM element measurement hook for React with SSR safety and zero layout thrashing.
@pareeshy/use-idle-detection
User inactivity detection hook for React supporting mouse, keyboard, touch, scroll, pointer, and visibility changes with configurable timeout.
@pareeshy/use-infinite-scroll
IntersectionObserver-based infinite scrolling hook for React with loadMore, cancellation, and rootMargin options.
@pareeshy/use-local-storage-state
Reactive, type-safe localStorage state hook for React with cross-tab synchronization and SSR safety.
@pareeshy/use-media-query
SSR-safe reactive media query hook for React with matchMedia listener support and fallback values.
@pareeshy/use-network-status
Reactive network status hook for React with online/offline detection, effective connection type, downlink, RTT, and graceful degradation.
@pareeshy/use-online-queue
Offline-first persistent action queue for React with automatic retry, idempotency deduplication, and network-aware processing.
@pareeshy/use-optimistic-action
Reusable optimistic UI workflow hook for React with automatic rollback on error, retry capability, and pending states.