UNPKG

flatten-anything

Version:

Flatten objects and replace nested props with 'prop.subprop'. A simple and small integration

56 lines (55 loc) 1.37 kB
{ "name": "flatten-anything", "version": "4.0.2", "description": "Flatten objects and replace nested props with 'prop.subprop'. A simple and 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": { "filter-anything": "^4.0.2", "is-what": "^5.2.0" }, "devDependencies": { "@cycraft/eslint": "^0.4.3", "@cycraft/tsconfig": "^0.1.2", "copy-anything": "^4.0.2", "del-cli": "^6.0.0", "np": "^10.2.0", "vitest": "^3.0.6" }, "files": [ "dist" ], "keywords": [ "flatten", "object", "paths", "pathify", "flatten-object", "flatten-paths", "flatten-deep-object", "flatten-nested-props", "pathify-props", "get-flat-object" ], "author": "Luca Ban - Mesqueeb (https://cycraft.co)", "funding": "https://github.com/sponsors/mesqueeb", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/mesqueeb/flatten-anything.git" }, "homepage": "https://github.com/mesqueeb/flatten-anything#readme", "bugs": "https://github.com/mesqueeb/flatten-anything/issues" }