[](https://opensource.org/licenses/mit-license.php) [](https://badge.fury.io/js/ss-linked-list)
npm install 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)
``bash`
npm install ss-linked-list --save
`javascript`
var LinkedList = require('ss-linked-list');
Include the pre-built script.
`html
`
`bash`
npm run build
`bash`
npm test
`bash`
npm run doc
then open the generated out/index.html` file in your browser.
Highly recommend article 面试精选:链表问题集锦 for more skils;
- detect has loop or not,Detect a loop in cyclic/circular linked list,and then count loop length
MIT.