{"id":13509366,"url":"https://github.com/danielberkompas/number","last_synced_at":"2025-05-15T15:07:44.721Z","repository":{"id":33515017,"uuid":"37161010","full_name":"danielberkompas/number","owner":"danielberkompas","description":"ActionView::Helpers::NumberHelper for Elixir","archived":false,"fork":false,"pushed_at":"2024-08-14T19:33:46.000Z","size":162,"stargazers_count":229,"open_issues_count":8,"forks_count":37,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-03T00:41:26.398Z","etag":null,"topics":["elixir","hex","number-transformer"],"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/danielberkompas.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"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}},"created_at":"2015-06-09T22:01:55.000Z","updated_at":"2025-04-27T03:02:23.000Z","dependencies_parsed_at":"2022-08-07T22:00:28.660Z","dependency_job_id":"41a5e0e5-457a-43c4-bc8f-966ff1014d3c","html_url":"https://github.com/danielberkompas/number","commit_stats":{"total_commits":156,"total_committers":20,"mean_commits":7.8,"dds":"0.14102564102564108","last_synced_commit":"67d51651a30923575f045b1d5068c73981078bbd"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fnumber","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fnumber/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fnumber/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielberkompas%2Fnumber/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielberkompas","download_url":"https://codeload.github.com/danielberkompas/number/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036826,"owners_count":22003660,"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","number-transformer"],"created_at":"2024-08-01T02:01:06.720Z","updated_at":"2025-05-15T15:07:39.693Z","avatar_url":"https://github.com/danielberkompas.png","language":"Elixir","funding_links":[],"categories":["Text and Numbers"],"sub_categories":[],"readme":"# Number\n\n[![Build Status](https://danielberkompas.semaphoreci.com/badges/number/branches/master.svg?style=shields)](https://danielberkompas.semaphoreci.com/projects/number)\n[![Inline docs](http://inch-ci.org/github/danielberkompas/number.svg?branch=master)](http://inch-ci.org/github/danielberkompas/number)\n[![Coverage Status](https://coveralls.io/repos/github/danielberkompas/number/badge.svg?branch=master)](https://coveralls.io/github/danielberkompas/number?branch=master)\n[![Module Version](https://img.shields.io/hexpm/v/number.svg)](https://hex.pm/packages/number)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/number/)\n[![Total Download](https://img.shields.io/hexpm/dt/number.svg)](https://hex.pm/packages/number)\n[![License](https://img.shields.io/hexpm/l/number.svg)](https://github.com/danielberkompas/number/blob/master/LICENSE)\n[![Last Updated](https://img.shields.io/github/last-commit/danielberkompas/number.svg)](https://github.com/danielberkompas/number/commits/master)\n\n\n`Number` is an [Elixir](https://github.com/elixir-lang/elixir) library which\nprovides functions to convert numbers into a variety of different formats.\nUltimately, it aims to be a partial clone of\n[ActionView::Helpers::NumberHelper](http://api.rubyonrails.org/classes/ActionView/Helpers/NumberHelper.html)\nfrom Rails.\n\n```elixir\nNumber.Currency.number_to_currency(2034.46)\n\"$2,034.46\"\n\nNumber.Phone.number_to_phone(1112223333, area_code: true, country_code: 1)\n\"+1 (111) 222-3333\"\n\nNumber.Percentage.number_to_percentage(100, precision: 0)\n\"100%\"\n\nNumber.Human.number_to_human(1234)\n\"1.23 Thousand\"\n\nNumber.Delimit.number_to_delimited(12345678)\n\"12,345,678\"\n```\n\n## Installation\n\nGet it from Hex:\n\n```elixir\ndefp deps do\n  [{:number, \"~\u003e 1.0.1\"}]\nend\n```\n\nThen run `mix deps.get`.\n\n## Usage\n\nIf you want to import all of the functions provided by `Number`, simply `use`\nit in your module:\n\n```elixir\ndefmodule MyModule do\n  use Number\nend\n```\n\nMore likely, you'll want to import the functions you want from one of\n`Number`'s submodules.\n\n```elixir\ndefmodule MyModule do\n  import Number.Currency\nend\n```\n\nSee the [Hex documentation](http://hexdocs.pm/number/) for more information\nabout the modules provided by `Number`.\n\n## License\nMIT. See [LICENSE](https://github.com/danielberkompas/number/blob/master/LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielberkompas%2Fnumber","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielberkompas%2Fnumber","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielberkompas%2Fnumber/lists"}