https://github.com/thysultan/drift.js
circular double linked list
https://github.com/thysultan/drift.js
Last synced: 11 months ago
JSON representation
circular double linked list
- Host: GitHub
- URL: https://github.com/thysultan/drift.js
- Owner: thysultan
- License: mit
- Created: 2017-08-10T14:22:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T14:31:29.000Z (almost 9 years ago)
- Last Synced: 2025-07-07T18:52:58.855Z (12 months ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Drift
circular double linked list
- < 1kb
[](https://www.npmjs.com/package/drift.js) [](https://github.com/thysultan/drift.js/blob/master/LICENSE.md) 
## Support
* Edge
* IE 9+
* Chrome
* Firefox
* Safari
* Node
---
## Installation
#### direct download
```html
```
#### cdn
```html
```
#### npm
```
npm install drift.js --save
```
---
## API
- `new Drift()`
- `push(node)`
- `unshift(node)`
- `pop()`
- `shift()`
- `insert(node, before)`
- `remove(node)`