{"id":16701233,"url":"https://github.com/eproxus/mapz","last_synced_at":"2025-10-05T12:15:33.532Z","repository":{"id":57520852,"uuid":"28138398","full_name":"eproxus/mapz","owner":"eproxus","description":"Additions to the Erlang maps module","archived":false,"fork":false,"pushed_at":"2025-02-14T18:26:13.000Z","size":123,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T04:42:51.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eproxus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-17T13:27:22.000Z","updated_at":"2025-02-14T18:26:17.000Z","dependencies_parsed_at":"2023-11-13T17:27:02.583Z","dependency_job_id":"73cca167-14c8-4413-a3d1-72289768d233","html_url":"https://github.com/eproxus/mapz","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fmapz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fmapz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fmapz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eproxus%2Fmapz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eproxus","download_url":"https://codeload.github.com/eproxus/mapz/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244855715,"owners_count":20521691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T18:43:18.148Z","updated_at":"2025-10-05T12:15:28.485Z","avatar_url":"https://github.com/eproxus.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003emapz\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/eproxus/mapz/actions/workflows/continous_integration.yaml?query=branch%3Amaster\"\u003e\n    \u003cimg alt=\"continous integration\" src=\"https://img.shields.io/github/actions/workflow/status/eproxus/mapz/continous_integration.yaml?label=build\u0026style=flat-square\u0026branch=master\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://hex.pm/packages/mapz\"\u003e\n    \u003cimg alt=\"hex.pm version\" src=\"https://img.shields.io/hexpm/v/mapz?style=flat-square\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"LICENSE\"\u003e\n    \u003cimg alt=\"hex.pm license\" src=\"https://img.shields.io/hexpm/l/mapz?style=flat-square\"/\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/eproxus/mapz/blob/master/.github/workflows/continous_integration.yaml#L14\"\u003e\n    \u003cimg alt=\"erlang versions\" src=\"https://img.shields.io/badge/erlang-25+-blue.svg?style=flat-square\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://hexdocs.pm/mapz/mapz.html\"\u003eFunction Reference\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr /\u003e\n\n`mapz` contains additions to the Erlang maps module, mostly functionality to\nnested map usage. It tries to stay as true as possible to the original `maps`\nAPI with the same or similar errors where applicable.\n\n## Features\n\n### Deep Access\n\n#### Getting \u0026 Setting\n\n```erlang\n1\u003e Map = #{a =\u003e #{big =\u003e #{nested =\u003e #{map =\u003e with},some =\u003e values},\n..         in =\u003e it,like =\u003e \"hello\"}}.\n#{a =\u003e\n      #{big =\u003e #{nested =\u003e #{map =\u003e with},some =\u003e values},\n        in =\u003e it,like =\u003e \"hello\"}}\n2\u003e mapz:deep_get([a, big, nested, map], Map).\nwith\n3\u003e mapz:deep_search([a, big, nested, list], Map).\n{error,[a,big,nested],#{map =\u003e with}}\n4\u003e mapz:deep_remove([a, like], Map).\n#{a =\u003e\n      #{big =\u003e #{nested =\u003e #{map =\u003e with},some =\u003e values},\n        in =\u003e it}}\n```\n\n#### Merging\n\n```erlang\n5\u003e NewMap = mapz:deep_merge(Map, #{a =\u003e #{big =\u003e #{nested =\u003e #{list =\u003e [1,2,3]}}}}).\n#{a =\u003e\n      #{big =\u003e\n            #{nested =\u003e #{list =\u003e [1,2,3],map =\u003e with},some =\u003e values},\n        in =\u003e it,like =\u003e \"hello\"}}\n6\u003e mapz:deep_search([a, big, nested, list], NewMap).\n{ok,[1,2,3]}\n```\n\n#### Inverse\n\n```erlang\n1\u003e mapz:inverse(#{a =\u003e 1, b =\u003e 2, c =\u003e 3}).\n#{1 =\u003e a,2 =\u003e b,3 =\u003e c}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feproxus%2Fmapz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feproxus%2Fmapz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feproxus%2Fmapz/lists"}