# ss-linked-list

> [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php) [![npm version](https://badge.fury.io/js/ss-linked-list.svg)](https://badge.fury.io/js/ss-linked-list)

Latest version **1.1.5** (published 2019-07-24) · 0 weekly downloads

## Install

```sh
npm install ss-linked-list
pnpm add ss-linked-list
yarn add ss-linked-list
bun add ss-linked-list
```

## Health

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

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

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2019-07-24 |
| First published | 2018-09-05 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 142.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | boycgit |
| Maintainers | jscon |

## Links

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

## Dependencies (1)

- [ss-comparator](https://npm.io/package/ss-comparator.md) ^1.0.0

## Recent versions

- 1.1.5 (latest) — 2019-07-24
- 1.1.4 — 2018-10-24
- 1.1.3 — 2018-10-22
- 1.1.2 — 2018-09-17
- 1.1.1 — 2018-09-12
- 1.1.0 — 2018-09-05

## README

# ss-linked-list

[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php) [![npm version](https://badge.fury.io/js/ss-linked-list.svg)](https://badge.fury.io/js/ss-linked-list)

Data Structure Serial -  Linked List 

 - written in Typescript, with generics type templating
 - support for iterator and iterable protocols.
 - support Singly-Linked List、Doubly-Linked List; and also Circle Singly or Doubly Linked List  
 - fully tested

Refer:
 - [前端学数据结构 - 链表（Linked List）](https://boycgit.github.io/ds-linked-list/)

## Installation

### Node.js / Browserify

```bash
npm install ss-linked-list --save
```

```javascript
var LinkedList = require('ss-linked-list');
```

### Global object

Include the pre-built script.

```html
<script src="./dist/index.umd.min.js"></script>

```

## Build & test

```bash
npm run build
```

```bash
npm test
```

## document

```bash
npm run doc
```

then open the generated `out/index.html` file in your browser.

## todo

Highly recommend article [面试精选：链表问题集锦](http://wuchong.me/blog/2014/03/25/interview-link-questions/) for more skils;

 - detect has loop or not，[Detect a loop in cyclic/circular linked list](https://js-algorithms.tutorialhorizon.com/2015/12/25/detect-cyclic-circular-linked-list/)，and then [count loop length](https://js-algorithms.tutorialhorizon.com/2015/12/26/loop-length-cyclic-circular-list/) 

## License

[MIT](LICENSE).

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