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

https://github.com/korkje/deque

Double-ended queue for Deno
https://github.com/korkje/deque

deno deque queue typescript

Last synced: about 2 months ago
JSON representation

Double-ended queue for Deno

Awesome Lists containing this project

README

          

# deque [![JSR](https://jsr.io/badges/@korkje/deque)](https://jsr.io/@korkje/deque)

Double-ended queue implementation, based on [Denque](https://github.com/invertase/denque).

```ts
import Deque from "jsr:@korkje/deque";

const deque = new Deque([1, 2, 3, 4]);
deque.shift(); // 1
deque.pop(); // 4
```