{"id":31740530,"url":"https://github.com/luizparreira/ecto_cast_to_string","last_synced_at":"2025-10-09T10:20:12.075Z","repository":{"id":57492884,"uuid":"92220070","full_name":"luizParreira/ecto_cast_to_string","owner":"luizParreira","description":"EctoCastToString is a simple library that enables ecto casting from integer and float to string.","archived":false,"fork":false,"pushed_at":"2017-05-23T22:18:09.000Z","size":11,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-16T11:57:35.435Z","etag":null,"topics":["casting","ecto","elixir"],"latest_commit_sha":null,"homepage":"https://hexdocs.pm/ecto_cast_to_string","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/luizParreira.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-23T21:02:57.000Z","updated_at":"2023-06-28T17:45:08.000Z","dependencies_parsed_at":"2022-08-28T11:50:58.185Z","dependency_job_id":null,"html_url":"https://github.com/luizParreira/ecto_cast_to_string","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/luizParreira/ecto_cast_to_string","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizParreira%2Fecto_cast_to_string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizParreira%2Fecto_cast_to_string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizParreira%2Fecto_cast_to_string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizParreira%2Fecto_cast_to_string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luizParreira","download_url":"https://codeload.github.com/luizParreira/ecto_cast_to_string/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luizParreira%2Fecto_cast_to_string/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001309,"owners_count":26083040,"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-10-09T02:00:07.460Z","response_time":59,"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":["casting","ecto","elixir"],"created_at":"2025-10-09T10:20:10.665Z","updated_at":"2025-10-09T10:20:12.069Z","avatar_url":"https://github.com/luizParreira.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EctoCastToString\n\nEctoCastIntToString is a simple library that enables ecto casting from number to string.\n\n## Installation\n\nThe package can be installed by adding `:ecto_cast_to_string` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:ecto_cast_to_string, \"~\u003e 0.1.0\"}]\nend\n```\n\n## Dependencies\n\nAs expected, `EctoCastToString` depends upon `Ecto` to work.\n\n## Usage\n\nSimply set the type of the column you would like to have casted to string.\n\n```elixir\ndefmodule MyModel\n  schema \"my_model\" do\n    # Integer\n    field :number_string, EctoCastToString.Number\n\n    timestamps()\n  end\nend\n```\n\n## License\n\nEctoCastint is under MIT license. Check the `LICENSE` file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizparreira%2Fecto_cast_to_string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluizparreira%2Fecto_cast_to_string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluizparreira%2Fecto_cast_to_string/lists"}