{"id":18151434,"url":"https://github.com/jur0/lqueue","last_synced_at":"2025-04-28T18:24:22.340Z","repository":{"id":57518697,"uuid":"69743506","full_name":"jur0/lqueue","owner":"jur0","description":"Double-ended queue with limited length","archived":false,"fork":false,"pushed_at":"2019-02-21T00:32:14.000Z","size":17,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T14:58:35.069Z","etag":null,"topics":["elixir","queue"],"latest_commit_sha":null,"homepage":"","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/jur0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-01T14:33:53.000Z","updated_at":"2022-03-14T18:49:14.000Z","dependencies_parsed_at":"2022-09-26T18:01:46.144Z","dependency_job_id":null,"html_url":"https://github.com/jur0/lqueue","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jur0%2Flqueue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jur0%2Flqueue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jur0%2Flqueue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jur0%2Flqueue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jur0","download_url":"https://codeload.github.com/jur0/lqueue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251363275,"owners_count":21577606,"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","queue"],"created_at":"2024-11-02T01:07:39.114Z","updated_at":"2025-04-28T18:24:22.322Z","avatar_url":"https://github.com/jur0.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LQueue\n\n[![Build Status](https://travis-ci.org/jur0/lqueue.svg?branch=master)](https://travis-ci.org/jur0/lqueue)\n[![Hex.pm](https://img.shields.io/hexpm/v/lqueue.svg)](https://hex.pm/packages/lqueue)\n\nDouble-ended queue with limited length. It can hold just specified amount\nof elements. If more are added, the elements from the top of the queue are\n(by default) discarded and the new ones added to the rear of the queue.\n\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be\ninstalled by adding `lqueue` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:lqueue, \"~\u003e 1.1\"}]\nend\n```\n\n## Usage\n\nThe limited queue implements the\n[Enumerable](http://elixir-lang.org/docs/stable/elixir/Enumerable.html),\n[Collectable](http://elixir-lang.org/docs/stable/elixir/Collectable.html) and\n[Inspect](http://elixir-lang.org/docs/stable/elixir/Inspect.html) protocols, so\nall the functions from them are available.\n\nApart from protocol function, there are others, implemented by `LQueue` module:\n\n * `new/1`\n * `full?/1`\n * `clear/1`\n * `max_count/1`\n * `push/2`\n * `push_front/2`\n * `pop/1`\n * `pop_rear/1`\n * `get/1`\n * `get_rear/1`\n * `drop/1`\n * `drop_rear/1`\n * `from_list/2`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjur0%2Flqueue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjur0%2Flqueue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjur0%2Flqueue/lists"}