{"id":13509405,"url":"https://github.com/nazipov/ua_parser2-elixir","last_synced_at":"2026-02-20T12:33:54.027Z","repository":{"id":62430589,"uuid":"62665189","full_name":"nazipov/ua_parser2-elixir","owner":"nazipov","description":"A port of ua-parser2 to Elixir. User agent parser library.","archived":false,"fork":false,"pushed_at":"2016-07-06T13:39:45.000Z","size":61,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-24T02:23:05.239Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nazipov.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-07-05T19:52:10.000Z","updated_at":"2016-07-11T13:21:34.000Z","dependencies_parsed_at":"2022-11-01T20:22:20.263Z","dependency_job_id":null,"html_url":"https://github.com/nazipov/ua_parser2-elixir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nazipov/ua_parser2-elixir","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazipov%2Fua_parser2-elixir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazipov%2Fua_parser2-elixir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazipov%2Fua_parser2-elixir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazipov%2Fua_parser2-elixir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nazipov","download_url":"https://codeload.github.com/nazipov/ua_parser2-elixir/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nazipov%2Fua_parser2-elixir/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29650902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-08-01T02:01:07.287Z","updated_at":"2026-02-20T12:33:53.997Z","avatar_url":"https://github.com/nazipov.png","language":"Elixir","funding_links":[],"categories":["Text and Numbers"],"sub_categories":[],"readme":"# UAParser2\n\n[![Build Status](https://travis-ci.org/nazipov/ua_parser2-elixir.svg?branch=master)](https://travis-ci.org/nazipov/ua_parser2-elixir)\n[![Hex pm](https://img.shields.io/hexpm/v/ua_parser2.svg?style=flat)](https://hex.pm/packages/ua_parser2)\n\nA port of [ua-parser2](https://www.npmjs.com/package/ua-parser2) to Elixir\n\n# Installation\n\nAdd UAParser2 as a dependency to your project's `mix.exs`:\n\n```elixir\ndef application do\n  [applications: [:ua_parser2]]\nend\n\ndefp deps do\n  [{:ua_parser2, github: \"nazipov/ua_parser2-elixir\"}]\nend\n```\n\nand then run `$ mix deps.get`\n\n# Usage\n\n```elixir\niex(1)\u003e UAParser2.parse(\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0\")\n%UAParser2.Result{\n  string: \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0\",\n  device: nil,\n  engine: %UAParser2.Result.Engine{\n    family: \"Gecko\", \n    major: \"47\", \n    minor: \"0\",\n    patch: nil, \n    type: nil\n  },\n  os: %UAParser2.Result.OS{\n    family: \"Mac OS X\", \n    major: \"10\", \n    minor: \"11\",\n    patch: nil, \n    patchMinor: nil, \n    type: nil\n  },\n  ua: %UAParser2.Result.UA{\n    family: \"Firefox\", \n    major: \"47\", \n    minor: \"0\", \n    patch: nil, \n    type: nil\n  }\n}\n```\n\n# License\n\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nThe parser databases are taken from the [commenthol/ua-parser2](https://github.com/commenthol/ua-parser2) project. See there for detailed license information about the data contained.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnazipov%2Fua_parser2-elixir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnazipov%2Fua_parser2-elixir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnazipov%2Fua_parser2-elixir/lists"}