@mcabreradev/filter
Version:
A powerful, SQL-like array filtering library for TypeScript and JavaScript with advanced pattern matching, MongoDB-style operators, deep object comparison, and zero dependencies
11 lines (10 loc) • 1.1 kB
JavaScript
export { isString, isObject, isFunction, isUndefined, isPrimitive, isPredicateFunction, getTypeForFilter, hasCustomToString, } from './type-guards/index.js';
export { hasWildcard, createWildcardRegex, getCachedRegex, hasNegation, removeNegation, } from './pattern-matching/index.js';
export { lowercase, equals } from './string-helpers/index.js';
export { FilterCache } from './cache/index.js';
export { isOperatorExpression, hasOperator } from './operator-detection/index.js';
export { take, skip, map, reduce, toArray, forEach, every, some, find, chunk, flatten, asyncMap, asyncFilter, } from './lazy-iterators/index.js';
export { memoization, MemoizationManager } from './memoization/index.js';
export { calculateDistance, isValidGeoPoint } from './geo-distance/index.js';
export { isValidDate, isValidTimeOfDay, isValidDayOfWeek, isValidRelativeTime, isValidAgeQuery, calculateTimeDifference, calculateAge, isWeekday, isWeekend, } from './date-time/index.js';
export { PerformanceMonitor, getPerformanceMonitor, resetPerformanceMonitor, trackPerformance, } from './performance-monitor/index.js';