# @data-structure/deque

> Python's deque data structure for JavaScript

Latest version **9.0.1** (published 2021-07-15) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @data-structure/deque
pnpm add @data-structure/deque
yarn add @data-structure/deque
bun add @data-structure/deque
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 9.0.1 |
| Published | 2021-07-15 |
| First published | 2021-04-30 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 622.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | make-github-pseudonymous-again |
| Maintainers | aureooms |
| Keywords | collection, collections, deque, javascript, js |

## Links

- npm: https://www.npmjs.com/package/@data-structure/deque
- Repository: https://github.com/data-structures-and-algorithms/deque
- Homepage: https://data-structures-and-algorithms.github.io/deque
- Issues: https://github.com/data-structures-and-algorithms/deque/issues
- npm.io page: https://npm.io/package/@data-structure/deque

## Dependencies (1)

- [@failure-abstraction/error](https://npm.io/package/@failure-abstraction/error.md) ^6.0.1

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 9.0.1 (latest) — 2021-07-15
- 9.0.0 — 2021-07-14
- 8.0.1 — 2021-05-28
- 8.0.0 — 2021-04-30
- 7.0.0 — 2021-04-30

## README

:snake: [@data-structure/deque](https://data-structures-and-algorithms.github.io/deque)
==

Python's deque data structure for JavaScript.
See [docs](https://data-structures-and-algorithms.github.io/deque).
Parent is [js-data-structures](https://github.com/make-github-pseudonymous-again/js-data-structures).

```js
import {deque} from '@data-structure/deque';
deque( 'abcde' , 3 ) ; // 'cde'
```

[![License](https://img.shields.io/github/license/data-structures-and-algorithms/deque.svg)](https://raw.githubusercontent.com/data-structures-and-algorithms/deque/main/LICENSE)
[![Version](https://img.shields.io/npm/v/@data-structure/deque.svg)](https://www.npmjs.org/package/@data-structure/deque)
[![Tests](https://img.shields.io/github/workflow/status/data-structures-and-algorithms/deque/ci:test?event=push&label=tests)](https://github.com/data-structures-and-algorithms/deque/actions/workflows/ci:test.yml?query=branch:main)
[![Dependencies](https://img.shields.io/david/data-structures-and-algorithms/deque.svg)](https://david-dm.org/data-structures-and-algorithms/deque)
[![Dev dependencies](https://img.shields.io/david/dev/data-structures-and-algorithms/deque.svg)](https://david-dm.org/data-structures-and-algorithms/deque?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/data-structures-and-algorithms/deque.svg)](https://github.com/data-structures-and-algorithms/deque/issues)
[![Downloads](https://img.shields.io/npm/dm/@data-structure/deque.svg)](https://www.npmjs.org/package/@data-structure/deque)

[![Code issues](https://img.shields.io/codeclimate/issues/data-structures-and-algorithms/deque.svg)](https://codeclimate.com/github/data-structures-and-algorithms/deque/issues)
[![Code maintainability](https://img.shields.io/codeclimate/maintainability/data-structures-and-algorithms/deque.svg)](https://codeclimate.com/github/data-structures-and-algorithms/deque/trends/churn)
[![Code coverage (cov)](https://img.shields.io/codecov/c/gh/data-structures-and-algorithms/deque/main.svg)](https://codecov.io/gh/data-structures-and-algorithms/deque)
[![Code technical debt](https://img.shields.io/codeclimate/tech-debt/data-structures-and-algorithms/deque.svg)](https://codeclimate.com/github/data-structures-and-algorithms/deque/trends/technical_debt)
[![Documentation](https://data-structures-and-algorithms.github.io/deque/badge.svg)](https://data-structures-and-algorithms.github.io/deque/source.html)
[![Package size](https://img.shields.io/bundlephobia/minzip/@data-structure/deque)](https://bundlephobia.com/result?p=@data-structure/deque)

---
_Source: https://npm.io/package/@data-structure/deque · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
