UNPKG

es-toolkit-clean

Version:

A lightweight, TypeScript-first library for cleaning JavaScript objects by removing undefined values, empty strings, empty arrays, functions, and other unwanted properties. Built on es-toolkit for superior performance.

3 lines (2 loc) 338 B
import{identity as o,noop as e}from"es-toolkit/function";import{cleanArray as n,cleanObject as i,cleanString as s}from"../utils/helpers";const a={isArray:n,isBoolean:o,isDate:o,isFunction:e,isNull:o,isNumber:o,isObjectLike:i,isPlainObject:i,isString:s,isUndefined:e};export{a as defaultProcessors}; //# sourceMappingURL=processors.js.map