UNPKG

dot-path-value

Version:

Safely get deep nested properties using dot notation

67 lines (66 loc) 1.51 kB
{ "name": "dot-path-value", "version": "0.0.11", "description": "Safely get deep nested properties using dot notation", "author": "German Makarov <cxdcjs@gmail.com>", "private": false, "homepage": "https://github.com/g-makarov/dot-path-value", "repository": { "type": "git", "url": "https://github.com/g-makarov/dot-path-value" }, "license": "MIT", "bugs": { "url": "https://github.com/g-makarov/dot-path-value/issues" }, "type": "module", "source": "src/index.ts", "exports": { "require": "./dist/index.cjs", "types": "./dist/index.d.ts", "default": "./dist/index.esm.js" }, "types": "./dist/index.d.ts", "main": "./dist/index.cjs", "module": "./dist/index.esm.js", "unpkg": "./dist/index.umd.js", "scripts": { "build": "microbundle", "prettier": "prettier --write src/**/*", "prepublishOnly": "npm run test && npm run build", "postversion": "git push && git push --tags", "test": "jest --passWithNoTests" }, "sideEffects": false, "files": [ "dist", "src", "tsconfig.json" ], "devDependencies": { "@types/jest": "^29.5.13", "jest": "^29.7.0", "microbundle": "^0.15.1", "prettier": "^3.3.3", "ts-jest": "^29.2.5", "typescript": "^5.6.2" }, "keywords": [ "dot", "path", "get", "value", "deep", "nested", "object", "property", "typescript", "type", "access", "notation", "array", "set", "update", "change" ] }