UNPKG

find-and-replace-anything

Version:

Replace one val with another or all occurrences in an object recursively. A simple & small integration.

56 lines (55 loc) 1.41 kB
{ "name": "find-and-replace-anything", "version": "4.0.3", "description": "Replace one val with another or all occurrences in an object recursively. A simple & small integration.", "type": "module", "sideEffects": false, "exports": { ".": "./dist/index.js" }, "engines": { "node": ">=18" }, "scripts": { "test": "vitest run", "lint": "tsc --noEmit && eslint ./src", "build": "del-cli dist && tsc", "release": "npm run lint && npm run build && np" }, "dependencies": { "is-what": "^5.2.0" }, "devDependencies": { "@cycraft/eslint": "^0.4.3", "@cycraft/tsconfig": "^0.1.2", "del-cli": "^6.0.0", "np": "^10.2.0", "vitest": "^3.0.6" }, "files": [ "dist" ], "keywords": [ "find-and-replace", "find-replace", "find-and-replace-if", "javascript", "recursively", "has-prop", "find-prop", "replace-prop-value", "replace-value", "search-prop", "search-object-prop", "replace-if" ], "author": "Luca Ban - Mesqueeb (https://cycraft.co)", "funding": "https://github.com/sponsors/mesqueeb", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/mesqueeb/find-and-replace-anything.git" }, "homepage": "https://github.com/mesqueeb/find-and-replace-anything#readme", "bugs": "https://github.com/mesqueeb/find-and-replace-anything/issues" }