{"id":30449998,"url":"https://github.com/ottojimb/deep_clean","last_synced_at":"2025-08-23T13:20:15.720Z","repository":{"id":57488897,"uuid":"85991126","full_name":"ottojimb/deep_clean","owner":"ottojimb","description":"Exclude elements from deep nested maps/list","archived":false,"fork":false,"pushed_at":"2017-04-04T03:09:37.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T18:37:26.642Z","etag":null,"topics":["elixir"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ottojimb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-23T19:48:14.000Z","updated_at":"2024-04-05T19:44:38.000Z","dependencies_parsed_at":"2022-08-29T15:10:44.449Z","dependency_job_id":null,"html_url":"https://github.com/ottojimb/deep_clean","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ottojimb/deep_clean","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottojimb%2Fdeep_clean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottojimb%2Fdeep_clean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottojimb%2Fdeep_clean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottojimb%2Fdeep_clean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ottojimb","download_url":"https://codeload.github.com/ottojimb/deep_clean/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ottojimb%2Fdeep_clean/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271539817,"owners_count":24777495,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["elixir"],"created_at":"2025-08-23T13:20:13.403Z","updated_at":"2025-08-23T13:20:15.711Z","avatar_url":"https://github.com/ottojimb.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeepClean\n\nProvide functionality to exclude elements in nested maps or list.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `deep_clean` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:deep_clean, \"~\u003e 0.1.1\"}]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm).\nThe docs can be found at  [https://hexdocs.pm/deep_clean](https://hexdocs.pm/deep_clean).\n\n\n## Usage\n\nSimply call the `DeepClean.exclude_in/2` function sending the following params:\n\n  1. `deep_elem`: a *map* or *list* with nested elements\n  2. `clean_list`: a *list* with the keys to be exclude from the *deep_elem*\n    separated by dots by each nested level\n\n\n## Example\n\n```elixir\niex\u003e DeepClean.exclude_in(%{a: %{aa: 1, ab: 2}, b: %{ba: 3, bb: 4}}, [\"a.ab\", \"b.bb\"])\n.. \u003e %{a: %{aa: 1}, b: %{ba: 3}}\n\niex\u003e DeepClean.exclude_in(%{a: [%{aa: 1, ab: 2}, %{aa: 11, ab: 22},], b: [%{ba: 3, bb: 4}, %{ba: 33, bb: 44}]}, [\"a.ab\", \"b.bb\"])\n.. \u003e %{a: [%{aa: 1}, %{aa: 11}], b: [%{ba: 3}, %{ba: 33}]}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fottojimb%2Fdeep_clean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fottojimb%2Fdeep_clean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fottojimb%2Fdeep_clean/lists"}