tpmjs/packages/tools/official/config-normalize/package.json
Ajax Davis 17b9ffb6aa chore: version packages
Initial release of 100+ official TPMJS tools
2025-12-31 23:54:47 +10:00

66 lines
1.8 KiB
JSON

{
"name": "@tpmjs/tools-config-normalize",
"version": "0.2.0",
"description": "Normalizes configuration objects by sorting keys, removing nulls, and cleaning empty values",
"type": "module",
"keywords": ["tpmjs", "engineering", "ai", "config", "normalization"],
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": ["dist"],
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"type-check": "tsc --noEmit",
"clean": "rm -rf dist .turbo"
},
"devDependencies": {
"@tpmjs/tsconfig": "workspace:*",
"tsup": "^8.3.5",
"typescript": "^5.9.3"
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/anthropics/tpmjs.git",
"directory": "packages/tools/official/config-normalize"
},
"homepage": "https://tpmjs.com",
"license": "MIT",
"tpmjs": {
"category": "engineering",
"frameworks": ["vercel-ai"],
"tools": [
{
"name": "configNormalize",
"description": "Normalizes configuration objects by sorting keys, removing nulls, and cleaning empty values",
"parameters": [
{
"name": "config",
"type": "object",
"description": "The configuration object to normalize",
"required": true
},
{
"name": "options",
"type": "object",
"description": "Normalization options (sortKeys, removeNulls, removeEmpty)",
"required": false
}
],
"returns": {
"type": "ConfigNormalizeResult",
"description": "Object with normalized config, changes array, and key count"
}
}
]
},
"dependencies": {
"ai": "6.0.0-beta.124"
}
}