UNPKG

path-to-prop

Version:

Retrieves a property from an object based on a 'path/to.that.prop'

53 lines (52 loc) 1.25 kB
{ "name": "path-to-prop", "version": "3.0.2", "description": "Retrieves a property from an object based on a 'path/to.that.prop'", "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" }, "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": [ "path-to-prop", "dot-prop", "dotprop", "propdot", "dot-notation", "dotnotation-prop", "delve", "prop-at-path", "get-prop-at-path", "get-property-at-path", "get-dot-prop", "get-dot-property" ], "author": "Luca Ban - Mesqueeb (https://cycraft.co)", "funding": "https://github.com/sponsors/mesqueeb", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/mesqueeb/path-to-prop.git" }, "homepage": "https://github.com/mesqueeb/path-to-prop#readme", "bugs": "https://github.com/mesqueeb/path-to-prop/issues" }