{"id":18002843,"url":"https://github.com/am-kantox/sweetener","last_synced_at":"2025-04-04T09:15:27.176Z","repository":{"id":57555168,"uuid":"107267687","full_name":"am-kantox/sweetener","owner":"am-kantox","description":"Set of nifty functions I missed in Elixir core.","archived":false,"fork":false,"pushed_at":"2017-10-17T13:01:33.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T06:11:38.403Z","etag":null,"topics":["elixir","elixir-lang","elixir-package"],"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/am-kantox.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-10-17T12:47:49.000Z","updated_at":"2022-10-29T18:44:22.000Z","dependencies_parsed_at":"2022-09-26T18:51:37.108Z","dependency_job_id":null,"html_url":"https://github.com/am-kantox/sweetener","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/am-kantox%2Fsweetener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/am-kantox%2Fsweetener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/am-kantox%2Fsweetener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/am-kantox%2Fsweetener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/am-kantox","download_url":"https://codeload.github.com/am-kantox/sweetener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247149510,"owners_count":20891954,"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","elixir-lang","elixir-package"],"created_at":"2024-10-29T23:24:11.986Z","updated_at":"2025-04-04T09:15:27.151Z","avatar_url":"https://github.com/am-kantox.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sweetener\n\n[![Build Status](https://travis-ci.org/am-kantox/sweetener.svg?branch=master)](https://travis-ci.org/am-kantox/sweetener) **Set of nifty functions I missed in Elixir core.**\n\nHelpers provided so far:\n\n- `tap` an analogue of ruby’s `tap` method.   It’s useful for more concise\nlogging/external calls without intermediate local variables:\n\n```elixir\nuse Sweetener\n\ntap Supervisor.start_link(children, opts) do\n  IO.inspect Supervisor.count_children(_())\n  #=\u003e %{active: 1, specs: 1, supervisors: 0, workers: 1}\nend #=\u003e returning {:ok, pid} tuple\n```\n\n## Installation\n\nAdd `sweetener` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:sweetener, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\nDocumentation can be found at [https://hexdocs.pm/sweetener](https://hexdocs.pm/sweetener).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fam-kantox%2Fsweetener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fam-kantox%2Fsweetener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fam-kantox%2Fsweetener/lists"}