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.
58 lines (57 loc) • 1.41 kB
JSON
{
"name": "es-toolkit-clean",
"version": "1.2.0",
"description": "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.",
"keywords": [
"clean",
"sanitize",
"object",
"typescript",
"es-toolkit",
"utility",
"filter",
"remove",
"empty",
"undefined",
"null",
"compact",
"trim",
"data-cleaning",
"object-processing",
"functional",
"immutable",
"javascript",
"node",
"browser",
"esm",
"cjs",
"class-instances"
],
"homepage": "https://github.com/sqrter/es-toolkit-clean#readme",
"bugs": {
"url": "https://github.com/sqrter/es-toolkit-clean/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sqrter/es-toolkit-clean.git"
},
"author": {
"name": "Serhii Siryk",
"email": "serg.siryk@scalified.com",
"url": "https://github.com/sqrter"
},
"license": "MIT",
"packageManager": "pnpm@10.3.0",
"peerDependencies": {
"es-toolkit": "^1.38.0"
},
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./esm/index.d.ts",
"exports": {
"types": "./esm/index.d.ts",
"require": "./cjs/index.js",
"import": "./esm/index.js",
"default": "./esm/index.js"
}
}