# @banshi/linked-list

> Utility Linked list

Latest version **0.0.1** (published 2024-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @banshi/linked-list
pnpm add @banshi/linked-list
yarn add @banshi/linked-list
bun add @banshi/linked-list
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2024-03-23 |
| First published | 2024-03-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 21.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Chanchal Rajbanshi |
| Maintainers | crajbanshi |
| Keywords | Linked List, List |

## Links

- npm: https://www.npmjs.com/package/@banshi/linked-list
- Repository: https://github.com/crajbanshi/-banshi-linked-list
- Homepage: https://github.com/crajbanshi/-banshi-linked-list#readme
- Issues: https://github.com/crajbanshi/-banshi-linked-list/issues
- npm.io page: https://npm.io/package/@banshi/linked-list

## Dependencies (3)

- [readline](https://npm.io/package/readline.md) ^1.3.0
- [commander](https://npm.io/package/commander.md) ^11.1.0
- [@banshi/cli-art](https://npm.io/package/@banshi/cli-art.md) ^0.0.1

## Recent versions

- 0.0.1 (latest) — 2024-03-23

## README

# -banshi-linked-list

```
npm install @banshi/linked-list
```

```
import LinkedList, { Node } from "@banshi/linked-list";


let ls = new LinkedList<number>;


- add(4);
- add(2);
let third = new Node(3);
- add(third);
- add(5);

- add(new Node(6));

- printList();


```

# Methods

- List of Methods
- add(Value) - Value or Node instance;
let third = new Node(3);
- add(third);

- printList() - Pring List

- breakCircular() - Break cercular list
- isCircularList() - Check linked list is circular or not

- prepend(Value/Node) - Prepend
- insert(Value, index) -- Insert value at index 
- sort() - Sort list

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