UNPKG

js-upsert

Version:

`js-upsert` is a lightweight JavaScript library designed to simplify updating deeply nested properties within objects. It provides an intuitive and efficient way to manage complex object structures, ensuring non-destructive updates. This makes `js-upsert`

68 lines (67 loc) 1.73 kB
{ "name": "js-upsert", "version": "0.2.51", "type": "module", "module": "dist/js-upsert.js", "main": "dist/js-upsert.umd.cjs", "types": "dist/index.d.ts", "exports": { ".": { "import": "./dist/js-upsert.js", "require": "./dist/js-upsert.umd.cjs", "types": "./dist/types/index.d.ts" } }, "scripts": { "dev": "vite", "test": "vitest", "build": "tsc && vite build", "build-dts": "dts-bundle-generator -o dist/types/index.d.ts src/upsert.ts", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" }, "devDependencies": { "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.13", "@types/react": "^18.2.64", "@types/react-dom": "^18.2.21", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "@vitest/ui": "^2.1.2", "dts-bundle-generator": "^9.3.1", "jest": "^29.7.0", "jsdom": "^25.0.1", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^5.2.2", "vite-plugin-dts": "^3.8.1", "vitest": "^2.1.2" }, "author": "MdShad", "keywords": [ "object manuplation", "object", "array", "upsert", "js-update", "js-object", "spread", "js-spread", "js-object" ], "repository": { "type": "git", "url": "git+ssh://git@github.com:shadmax22/js-upsert.git" }, "license": "MIT", "bugs": { "url": "https://github.com/shadmax22/js-upsert/issues" }, "homepage": "https://github.com/shadmax22/js-upsert#readme", "files": [ "dist" ], "dependencies": {} }