# @ds-javascript/doubly-linked-list

> This is Doubly Linked list Data structure in javascript

Latest version **1.0.0** (published 2020-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ds-javascript/doubly-linked-list
pnpm add @ds-javascript/doubly-linked-list
yarn add @ds-javascript/doubly-linked-list
bun add @ds-javascript/doubly-linked-list
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-03-01 |
| First published | 2020-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Dhananjay Chaudhari |
| Maintainers | opensourcedj |
| Keywords | javascript ds, doubly linked list, doubly linked list es6, doubly linked list js, linked list, linked list es6, linked list js, javascript data structure |

## Links

- npm: https://www.npmjs.com/package/@ds-javascript/doubly-linked-list
- Repository: https://github.com/opensourcedj217/JSDoublyLinkedList
- Homepage: https://github.com/opensourcedj217/JSDoublyLinkedList#readme
- Issues: https://github.com/opensourcedj217/JSDoublyLinkedList/issues
- npm.io page: https://npm.io/package/@ds-javascript/doubly-linked-list

## Recent versions

- 1.0.0 (latest) — 2020-03-01

## README

# @ds-javascript/doubly-linked-list


## Usage
```js
const DoublyLinkedList = require('@ds-javascript/doubly-linked-list');
const list = new DoublyLinkedList();
```

## API

**.push(value)** 
adds a node of the given value at the end of the list.
```javascript
list.push('node value');
```

**.pop()** 
removes node from  end of the list.
```javascript
list.pop();
```

**.shift()** 
removes a node from beginning of the list.
```javascript
list.shift();
```

**.unshift(value)** 
adds a node of the given value at the beginning of the list.
```javascript
list.unshift('node value');
```

**.get(index)** 
get node at the provided index of the list.
```javascript
list.get(1);
```

**.set(value,index)** 
set/update value of node at the provided index of the list.
```javascript
list.set('node value',1);
```

**.insert(value,index)** 
insert node at the provided index of the list.
```javascript
list.insert('node value',1);
```

**.remove(index)** 
delete node from  provided index of the list.
```javascript
list.remove(1);
```
**.getList()** 
get entire list
```javascript
list.getList();
```

---
_Source: https://npm.io/package/@ds-javascript/doubly-linked-list · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
