{"id":15784683,"url":"https://github.com/secretworry/csvto","last_synced_at":"2025-03-14T10:33:27.597Z","repository":{"id":57487600,"uuid":"77315024","full_name":"secretworry/csvto","owner":"secretworry","description":"Convert csv file to elixir map with ease","archived":false,"fork":false,"pushed_at":"2018-09-27T10:36:27.000Z","size":48,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-11T20:14:53.397Z","etag":null,"topics":["csv","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/secretworry.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":"2016-12-25T07:12:02.000Z","updated_at":"2022-07-03T02:05:02.000Z","dependencies_parsed_at":"2022-08-29T11:20:54.640Z","dependency_job_id":null,"html_url":"https://github.com/secretworry/csvto","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretworry%2Fcsvto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretworry%2Fcsvto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretworry%2Fcsvto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/secretworry%2Fcsvto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/secretworry","download_url":"https://codeload.github.com/secretworry/csvto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221459034,"owners_count":16825420,"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":["csv","elixir"],"created_at":"2024-10-04T20:04:54.876Z","updated_at":"2024-10-25T20:41:18.870Z","avatar_url":"https://github.com/secretworry.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Csvto\n\n**Convert csv file to elixir map with ease**\n\n## Installation\n\nAdd csvto to your list of dependencies in `mix.exs`\n\n  ```\n  # use the stable version\n  def deps do\n    [{:csvto, \"~\u003e 0.1.3\"}]\n  end\n\n  # use the latest version\n  def deps do\n    [{:csvto, github: \"secretworry/csvto.git\", branch: :master}]\n  end\n\n  # start csvto\n  defp application do\n    [applications: [:csvto]]\n  end\n  ```\n\n## Quick Example\n\n```elixir\n  defmodule MyCsvto do\n    use Csvto.Builder\n\n    csv \"product\" do\n      field :name, :string, name: \"Name\"\n      field :number, :string, name: \"Number\"\n      field :description, :string, name: \"Desc\"\n      field :price, :float, name: \"Price\", validate: \u0026(\u00261 \u003e= 0)\n      field :images, {:array, :string}, name: \"Images\", separator: \"|\"\n    end\n  end\n\n  MyCsvto.from(path, :product) # returns [Map.t]\n```\n\n## Documentation\n\nYou can read more from our [Hexdocs](https://hexdocs.pm/csvto/api-reference.html)\n\n* Types that support can be found [here](https://hexdocs.pm/csvto/Csvto.Builder.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretworry%2Fcsvto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsecretworry%2Fcsvto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsecretworry%2Fcsvto/lists"}