An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Drift

circular double linked list

- < 1kb

[![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)

## 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)`