data-structures-and-algorithms/deque

View on GitHub
README.md

Summary

Maintainability
Test Coverage
: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/actions/workflow/status/data-structures-and-algorithms/deque/ci.yml?branch=main&event=push&label=tests)](https://github.com/data-structures-and-algorithms/deque/actions/workflows/ci.yml?query=branch:main)
[![Dependencies](https://img.shields.io/librariesio/github/data-structures-and-algorithms/deque.svg)](https://github.com/data-structures-and-algorithms/deque/network/dependencies)
[![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)