connective-tissue
connective-tissue
is a collection of linked list and ring data structures implemented in and for JavaScript. The structures in this library follow the specifications of their classical counterparts; they are well-tested and optimal implementations of:
Installation
npm install connective-tissue
OR
yarn add connective-tissue
Supported Environments
connective-tissue
currently supports UMD, CommonJS (node versions >= 10), and ESM build-targets
Commonjs:
const { CircularDoublyLinkedList } = require('connective-tissue');
ESM:
import { CircularDoublyLinkedList } from 'connective-tissue';
Documentation
See docs