{"id":16322140,"url":"https://github.com/1999/homework-queue","last_synced_at":"2025-05-14T13:32:41.384Z","repository":{"id":142989513,"uuid":"63947358","full_name":"1999/homework-queue","owner":"1999","description":"Simple implementation of Queue","archived":false,"fork":false,"pushed_at":"2017-08-26T07:45:33.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T03:44:13.989Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/1999.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-07-22T11:08:16.000Z","updated_at":"2016-12-06T23:58:14.000Z","dependencies_parsed_at":"2023-03-20T12:55:13.031Z","dependency_job_id":null,"html_url":"https://github.com/1999/homework-queue","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/1999%2Fhomework-queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999%2Fhomework-queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999%2Fhomework-queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1999%2Fhomework-queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1999","download_url":"https://codeload.github.com/1999/homework-queue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254150577,"owners_count":22022984,"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":[],"created_at":"2024-10-10T22:50:05.778Z","updated_at":"2025-05-14T13:32:41.347Z","avatar_url":"https://github.com/1999.png","language":"JavaScript","readme":"[![Build Status](https://travis-ci.org/k03mad/homework-queue.svg?branch=master)](https://travis-ci.org/k03mad/homework-queue)\n\n### Simple implementation of Queue.\n\nA queue is a first-in-first-out (FIFO) data structure - items are added to the end of the queue and removed from the front.\n\n### How-to:\n\n```js\nconst Queue = require('homework-queue');\nconst myQueue = new Queue();\n\n// add element to queue\nmyQueue.enqueue(value)\n// return true if queue is empty\nmyQueue.isEmpty()\n// return first element of queue\nmyQueue.peek()\n// return first element and delete it from queue\nmyQueue.dequeue()\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999%2Fhomework-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1999%2Fhomework-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1999%2Fhomework-queue/lists"}