{"id":17162123,"url":"https://github.com/thysultan/drift.js","last_synced_at":"2025-08-19T22:09:37.642Z","repository":{"id":57158761,"uuid":"99931413","full_name":"thysultan/drift.js","owner":"thysultan","description":"circular double linked list","archived":false,"fork":false,"pushed_at":"2017-08-10T14:31:29.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-07T18:52:58.855Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/thysultan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-08-10T14:22:39.000Z","updated_at":"2022-12-23T06:23:35.000Z","dependencies_parsed_at":"2022-09-07T12:30:36.783Z","dependency_job_id":null,"html_url":"https://github.com/thysultan/drift.js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thysultan/drift.js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2Fdrift.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2Fdrift.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2Fdrift.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2Fdrift.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thysultan","download_url":"https://codeload.github.com/thysultan/drift.js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thysultan%2Fdrift.js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265524227,"owners_count":23781930,"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-14T22:44:45.922Z","updated_at":"2025-07-18T08:05:44.488Z","avatar_url":"https://github.com/thysultan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Drift\n\ncircular double linked list\n\n- \u003c 1kb\n\n[![npm](https://img.shields.io/npm/v/drift.js.svg?style=flat)](https://www.npmjs.com/package/drift.js) [![licence](https://img.shields.io/badge/licence-MIT-blue.svg?style=flat)](https://github.com/thysultan/drift.js/blob/master/LICENSE.md) ![dependencies](https://img.shields.io/badge/dependencies-none-green.svg?style=flat)\n\n## Support\n\n* Edge\n* IE 9+\n* Chrome\n* Firefox\n* Safari\n* Node\n\n---\n\n## Installation\n\n#### direct download\n\n```html\n\u003cscript src=drift.min.js\u003e\u003c/script\u003e\n```\n\n#### cdn\n\n```html\n\u003cscript src=https://unpkg.com/drift.js@latest/drift.min.js\u003e\u003c/script\u003e\n```\n\n#### npm\n\n```\nnpm install drift.js --save\n```\n\n---\n\n## API\n\n- `new Drift()`\n- `push(node)`\n- `unshift(node)`\n- `pop()`\n- `shift()`\n- `insert(node, before)`\n- `remove(node)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthysultan%2Fdrift.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthysultan%2Fdrift.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthysultan%2Fdrift.js/lists"}