{"id":21564638,"url":"https://github.com/codedge-llc/accessible","last_synced_at":"2025-04-13T06:41:44.263Z","repository":{"id":54272328,"uuid":"114795277","full_name":"codedge-llc/accessible","owner":"codedge-llc","description":"Dead-simple Access behavior for Elixir structs","archived":false,"fork":false,"pushed_at":"2024-08-31T18:53:40.000Z","size":38,"stargazers_count":47,"open_issues_count":2,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-24T10:18:10.420Z","etag":null,"topics":["elixir","hex"],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/accessible","language":"Elixir","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/codedge-llc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["codedge-llc"]}},"created_at":"2017-12-19T17:53:48.000Z","updated_at":"2024-12-19T08:56:03.000Z","dependencies_parsed_at":"2025-01-19T06:06:30.780Z","dependency_job_id":"c50496e9-2d6b-4523-b065-73824e500a98","html_url":"https://github.com/codedge-llc/accessible","commit_stats":{"total_commits":20,"total_committers":4,"mean_commits":5.0,"dds":"0.44999999999999996","last_synced_commit":"bf8a90ae6f565a3a097f6b0081f912df67d62a5a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedge-llc%2Faccessible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedge-llc%2Faccessible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedge-llc%2Faccessible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codedge-llc%2Faccessible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codedge-llc","download_url":"https://codeload.github.com/codedge-llc/accessible/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675434,"owners_count":21143763,"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":["elixir","hex"],"created_at":"2024-11-24T10:16:37.633Z","updated_at":"2025-04-13T06:41:44.236Z","avatar_url":"https://github.com/codedge-llc.png","language":"Elixir","funding_links":["https://github.com/sponsors/codedge-llc"],"categories":[],"sub_categories":[],"readme":"# Accessible\n\n\u003e Dead-simple Access behaviour for custom structs\n\n[![CI](https://github.com/codedge-llc/accessible/actions/workflows/ci.yml/badge.svg)](https://github.com/codedge-llc/accessible/actions/workflows/ci.yml)\n[![Version](https://img.shields.io/hexpm/v/accessible.svg)](https://hex.pm/packages/accessible)\n[![Total Downloads](https://img.shields.io/hexpm/dt/accessible.svg)](https://hex.pm/packages/accessible)\n[![License](https://img.shields.io/hexpm/l/accessible.svg)](https://github.com/codedge-llc/accessible/blob/master/LICENSE.md)\n[![Last Updated](https://img.shields.io/github/last-commit/codedge-llc/accessible.svg)](https://github.com/codedge-llc/accessible/commits/master)\n[![Documentation](https://img.shields.io/badge/documentation-gray)](https://hexdocs.pm/accessible/)\n\n## Installation\n\nAdd accessible as a `mix.exs` dependency:\n\n```elixir\ndef deps do\n  [\n    {:accessible, \"~\u003e 0.3.0\"}\n  ]\nend\n```\n\n## Usage\n\nAdd `use Accessible` to your struct's module to enable `Access` behavior.\n\n```elixir\ndefmodule YourModule\n  defstruct key: 1234, key_2: true\n\n  use Accessible\n\n  def your_function do\n  ...\nend\n```\n\nYour struct can now use all of the features of Access, including `struct[:key]` access syntax and Kernel nested get/update functions.\n\n```elixir\niex\u003e %YourModule{}[:key]\n1234\n```\n\n## Contributing\n\n### Testing\n\nUnit tests can be run with `mix test`.\n\n### Formatting\n\nThis project uses Elixir's `mix format` and [Prettier](https://prettier.io) for formatting.\nAdd hooks in your editor of choice to run it after a save. Be sure it respects this project's\n`.formatter.exs`.\n\n### Commits\n\nGit commit subjects use the [Karma style](http://karma-runner.github.io/5.0/dev/git-commit-msg.html).\n\n## License\n\nCopyright (c) 2017-2024 Codedge LLC (https://www.codedge.io/)\n\nThis library is MIT licensed. See the [LICENSE](https://github.com/codedge-llc/accessible/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedge-llc%2Faccessible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodedge-llc%2Faccessible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodedge-llc%2Faccessible/lists"}